Archived topic
custom template to make a page that just shows a picture
3 replies · Started by Jud on June 8, 2018
I want to make a template so that I can upload screeenshots or presentation slide images and have them take up the whole screen.
I have done some research, and have uploaded a "mytemplate.php" file to host/site/wp-content/themes/generatepress/, and confirmed that the temmplate got there, but, when I try to create a new page, I do not see that template in Page Attributes.
Is there a different place I should put it?
Is there some GP specific method?
Hi there,
It should be added to a child theme instead of the parent theme, or you'll lose the file when you update the theme: https://docs.generatepress.com/article/using-child-theme/
Does your page template have the proper header set up?: https://developer.wordpress.org/themes/template-files-section/page-template-files/#creating-custom-page-templates-for-global-use
If it has a Template Name, it should show up in the dropdown when adding a page.
Thank you! Works fine now that I followed instructions.
You're welcome :)