This single page template for Academy Pro adds adds a featured image before the entry title in the same way as the image is added on single posts in this theme.
Demo Video #
Shows the single page template with entry title after the featured image displaying exactly the same as the single post template in the Academy Pro child theme by StudioPress.
The template also includes code to remove the Genesis Breadcrumbs and any breadcrumbs added by Yoast SEO. The tutorial also includes instructions on how to change the featured image size for existing and future featured images.
Installation Steps #
There’s 2 steps :
Step 1 – Upload the file named single-page.php to your Academy Pro theme folder.
Step 2 – Paste the following CSS at the very end of your style.css file and clear caching.
You can then select the template named Single Page from the Template drop down menu in the Page Attributes box on any Edit Page screen.
Change Featured Image Size
On line 208 of functions.php, you’ll find this code which you can modify.
add_image_size( 'featured-image', 880, 360, true );
This will only change the image size on new featured images added to new pages and posts. To change the image size on existing featured images, regenerate thumbnails.