Remove Featured Image On A Per Post Basis In Navigation Pro

This tutorial includes the code which enables you to remove the featured image after the header on any single post in Navigation Pro without removing the archive image.

Show Hide Featured Image After Header Single Posts Navigation Pro

The code adds a show/hide button you can use to remove the featured image. When you do, the single post displays i exactly the same way as it would when a featured image is not added :

Remove Featured Image Single Post

Demo Video

Displays a switch to remove the featured image from the after header position on single posts without removing the featured image on archive pages.

Tested using the Navigation Pro child theme by StudioPress.

Installation Steps

There’s 3 steps :

  1. # Copy & paste the PHP code from the file named image-functions.php to the end of your Navigation Pro themes image-functions.php file or your functions.php file
  2.  

    Step 1

  3. # Copy & paste the CSS from the style.css file to the end of your Navigation Pro themes style sheet and clear caching
  4.  

    Step 2

  5. # Install the ACF ( advanced custom fields ) plugin ( free or premium version ), in your WordPress Dashboard go to Custom Fields > Tools > Import and import the file named acf-73003.json
  6.  

    Step 3

Download Folder

Join 5000+ Followers

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