• The Author meta data is showing “Posted by Administrator” instead of grabbing the nickname or “display name publicly as” field.

    In cases where there’s a specific name associated with a post, it’s displaying that name in lower-case, even though the user’s name, nickname, and public display are all set with initial cap (e.g., shows “david” instead of “David”).

    https://ww.wp.xz.cn/plugins/daves-wordpress-live-search/

Viewing 1 replies (of 1 total)
  • Thread Starter bshuchter

    (@bshuchter)

    I fixed this by tweaking class-daves-wordpress-live-search-results.php, line 56, to:

    $authorName = get_the_author_meta( ‘display_name’, $post->post_author );

    I switched nice_name for display_name.

Viewing 1 replies (of 1 total)

The topic ‘Not pulling correct Author in meta data’ is closed to new replies.