TBH I’m not sure how they are placed on this page (I didn’t add a shortcode etc). Also, I’m unable to use BB to style the page even though I have selected/ticked under settings - post type - private housing that option.
Hey Darron! Sorry for the trouble. So, the Private Housing page you linked to is being automatically generated by WordPress. WordPress is displaying your CPTs the same way it would display blog posts.
What you’ll want to do is create a new page (I believe you can still call it Private Housing), then you can use Beaver Builder’s Posts module to display the properties. For the record, you can use Beaver Builder on your individual private housing posts since you selected the private housing post type in the Beaver Builder settings.
Hope that makes sense. Let me know if there is anything I can elaborate on for you…
Ooh, yes, that should work. I honestly forgot that ACF has shortcodes that can be used to output data. That sounds like a good place to start experimenting.
Regarding the question about removing the sidebar and the meta data, there is a way to do this, but it’s going to be a bit tricky…
By default, your CPT is using the theme’s single.php template file. This is the same template that is used for blog posts. You’re going to need to make a template file specifically for that post type.
Now that I am thinking about it, you’re probably going to need to change the private housing slug to use a dash (like I mentioned before). Then, you can create this file in your theme’s root folder: single-private-housing.php. You could try creating the file with a space, but I don’t think it will work. There’s a lot more info on that here:
After doing that, open the page.php file and copy paste all of the code from that file to the new private-housing-page.php file. Then, you can edit that theme file and remove the sidebar or customize it to your liking.
I hate to say it, but I don’t think there is a way to do this without getting into some code. Are you comfortable working with PHP and theme files? Hope this helps!
I can create all the content with BB in the frontend but cannot seem to add the option to choose what template type I want to use - maybe I’m complicating this too much - will go back to drawing board as cannot see wood for trees!
Hey Darron! No worries on the delay. Glad to see you’re making some progress.
We have a lot of logic built into our theme for the page templates. Unfortunately, the ability to pick a page template won’t carry over to your custom post type. If you wanted, as an example, to use the Header/Footer-less page, you would need to remove the header and footer from your CPT page template.
You can browse through our theme files, though, and reuse the code we’re using for pages. I wish there was a simpler answer, but when working with CPTs can be a bit tricky.
Let me know if there is anything else I can help with or advise on. Good luck!