Archived topic
Single Post
3 replies · Started by Marjorie on October 16, 2021
Hi
I have no elements at all, can you give me an element for a single post please, or the easiest way to get a single post template with sidebar.
Thank you
Hi there,
Not sure if I understand.
Elements and single posts are unrelated.
If you want to use a sidebar in single posts then you can use the customizer option:
https://docs.generatepress.com/article/sidebar-layout/#single-post-sidebar-layout
Maybe I didn't explain properly.
Is there a shortcode for single posts layout? or The single post layout from some of your theme templates whats the easiest way for me to create one? A code for something like this https://generatepress.com/site-library/
There isn't a shortcode for single posts layout.
The single post template is here: https://github.com/tomusborne/generatepress/blob/master/single.php
However, you will need some developer knowledge to be able to modify that.
The site library page is a completely custom-coded static page and not a single post template.