• I used a css edit to hide the author name on my website itself (the summary page and individualy posts) but it seems to be showing up in google search results. Do I need to modify with php to remove it entirely? How would I do that? Thank you!

Viewing 1 replies (of 1 total)
  • Hi tmh12. To remove the author from the page structure:

    1. Copy /parts/post-list-author-date.php and single-author-date.php from the parent theme to the same path in your child theme. If you don’t have a child theme see:
    https://docs.presscustomizr.com/article/239-using-a-child-theme-with-hueman

    2. In your child theme post-list-author-date.php change the first four lines from this:

    <p class="post-byline" style="display:none">&nbsp;<?php _e('by','hueman'); ?>
      <span class="vcard author">
        <span class="fn"><?php the_author_posts_link(); ?></span>
      </span> &middot; Published <span class="published"><?php echo get_the_date( get_option('date_format') ); ?></span>

    to this:

    <p class="post-byline" style="display:none">Published <span class="published"><?php echo get_the_date( get_option('date_format') ); ?></span>

    3. In single-author-date.php change the first four lines from this:

    <p class="post-byline"><?php _e('by','hueman'); ?>
       <span class="vcard author">
         <span class="fn"><?php the_author_posts_link(); ?></span>
       </span> &middot;

    to this:

    <p class="post-byline">

    • This reply was modified 8 years, 2 months ago by bdbrown.
Viewing 1 replies (of 1 total)
  • The topic ‘Removing Author Names From Google Search’ is closed to new replies.