Genesis: 3 Ways To Remove Featured Images Using PHP Code

I’ve already shown you how to remove featured images using CSS code however i was just asked how to do this using PHP code.

You can choose from at least 3 options:

  1. You can use PHP code to remove featured images conditionally in a custom function from your child themes functions.php file.
  2. You can add one line of PHP code to your child themes functions.php file to remove all featured images from your entire site.
  3. Lastly, you can add one line of PHP code directly to a template file to remove featured images from your single.php, page.php, blog listings page, archive, author, blog, category, search, or tag pages.

Related Tutorials

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.