I was asked recently how to remove the author name and comments link from the post info on the home page only so i thought i should also share the code with all my lovely readers!
I tried doing this with CSS code but it leaves the by text which must be hard coded into Genesis or WordPress.
Here’s the PHP code you can simply copy from the view raw link and paste at the end of your child themes functions.php file.
This code uses the is_front_page() conditional tag meaning only the post info on the front page of your website will modified and all other archives like your blog & category archives will not be effected.
More Ways To Remove Post Info
- 4 Ways To Remove, Hide or Customize Specific Post Info Links in Genesis
- 3 Ways To Remove Post Meta & Post Info Links