Support » Themes and Templates » Removing the author part

  • Resolved JeroenK

    (@jeroenk)


    I am using the twentysixteen theme. I would like to remove the author avatar and other information right below it; the author name, date and categories.

    I have been trying to find where this is done in the php files, but after many hours I still havent found it…

    Who can point me out where this is done?

    Thanks so much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @jeroenk

    To solve the following issue yo need to create and activate child theme.

    Child theme reference:
    Child theme
    Child theme

    After successfully creating and activating child theme, in your parent theme’s folder you will see Content-single.php file ,copy this file as it is in child theme’s folder.

    In line no:39 you will see fololwing block of code:
    <footer class="entry-footer">

    Now you need to remove the code from line no:39 to line no:52. i.e. entire footer section.

    This will remove the Info from the single post .

    Similarly if want to remove the info that is visible in blog page Please repeat the above process .
    But use the content.php file in place of Content-single.php .
    Here remove the code from line no:43 to line no:56.

    I hope this will resolve your issue.

    Best Regards!!

    Thread Starter JeroenK

    (@jeroenk)

    Thanks so much! Page looks much cleaner this way, its all permanent information not tied to a date…

    I used to use child-themes, but in the long run it caused problems. Now I just update the theme, and then re-edit those changes back into the new files. For that I keep a backup with comments on what has been changed. A little work (just have three changes now, so not to bad), but in the long run it can save so much time if things go wrong because of old code…

    You really helped me, I was at a complete loss as where this could have been hidden 😀

    I am very glad that i could help you with this .

    Have a great week ahead.

    Best Wishes!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Removing the author part’ is closed to new replies.