• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

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.

Register for full access

Related Tutorials

  • Remove Featured Image From 1st Page of Paged Home Page Archive in Genesis

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.