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

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.