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

WP SITES

2665

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

Academy Pro Single Page Template With Featured Image

This template for use with the Academy Pro theme enables you to customize any single page.

In this case, the template displays, in the following order, the breadcrumbs, page title and featured image ( in the same way it’s displayed on single posts ).

Demo Video #

Shows the breadcrumbs, page title and featured image displayed before the content using a custom single page template.

Code Installation #

There’s 2 steps :

Step 1 – From the download folder, upload the file named single-page.php to the Academy Pro themes root directory.

Step 2 – Copy & paste the CSS below to the end of the Academy Pro themes style.css file and clear caching.

You can then select the template named Single Page on any Edit Page screen.

Optional

Alternatively, if you prefer to load the template on ALL single pages, add the following code to the end of the Academy Pro themes functions file.

add_filter( 'template_include', 'academy_custom_single_page_template', 99 );

function academy_custom_single_page_template( $template ) {

	if ( is_singular('page')  ) {
		$new_template = locate_template( array( 'single-page.php' ) );
		if ( '' != $new_template ) {
			return $new_template ;
		}
	}

	return $template;
}

Register or login to access the download folder.

Register for full access

Related Templates

  • Academy Pro Single Page Template With Featured Image Before Page Title

Academy Pro Theme Featured Image

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems