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

WP SITES

2787

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Use single.php Template On All Post Types In Monochrome Pro

The code in this download folder enables you to use the single.php template file with the full width after header featured image, on all post types including single pages, single posts and single custom post types.

The following gallery of 3 images shows the template which is coded by default to work in single posts only, display the featured image, full width, after the header on all other single post types.

Single Page Full Width After Header Featured Image
Single Post Full Width After Header Featured Image
Single Custom Post Type Full Width After Header Featured Image

Demo Video

Shows the single.php template with the full width after header featured image loaded on single pages, single posts and single CPT’s.

Tested using the Monochrome Pro child theme by StudioPress.

Installation Steps

There’s 3 steps :

  1. # Upload the single.php template file replacing the default single.php file in your Monochrome Pro theme folder
  2.  

  3. # Copy & paste the PHP code ( without the opening PHP tag ) to the end of your Monochrome Pro themes functions file.
  4.  

  5. # Copy & paste the CSS from the style.css file to the end of your Monochrome Pro themes style sheet and clear caching.
  6.  

Download Folder

Custom Image

If you want to use a image other than the featured image, you can use WordPress custom fields with the image URL or ACF. The field name is image.

Related Templates

  • Monochrome Pro – Archive Templates For After Header Hero Image

After Header Image Featured Image Monochrome Pro

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.