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.

Related Templates

Join 5000+ Followers

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