Archived topic
Single Post Template
7 replies · Started by Robert on March 22, 2018
How do I create a single post template using Beaver Builder? I'm not sure if I modify the content-single.php or the single.php file. Thank you
Hi there,
It depends on which part of the template code you're wanting to edit.
single.php has the outer containers, whereas content-single.php has the actual content code.
Which part of the code are you wanting to change?
I would like to change the entire post because BB handles my header and footer and I want a full width layout. I've never change the single.php file so I am just a little confused on what to change.
I would like to change the entire post
The content of the post? The HTML structure?
If you want a full width layout, you can just use our Page Builder Container metabox: https://docs.generatepress.com/article/page-builder-container/
I would like to change the HTML. The header and footer are saved rows in BB. Is there a way to create a BB template for single post pages?
You should just be able to insert the template into the content area using a shortcode.
Then you can disable the elements you don't need using the Disable Elements metabox.
There shouldn't be any need to create or alter templates.
Tom,
Thanks for your help. I have it figured out. Great theme.
Thank you! :)