Skip Navigation

[Resolved] how to use genesis "model" page "page builder" with my CPT

This support ticket is created 5 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by alexisJ 5 years, 8 months ago.

Assisted by: Waqar.

Author
Posts
#1130545

Tell us what you are trying to do?
Create a landing page without the full header of genesis child theme
For this i created a Custom post Type with everything i need for building my landing page.
and attribute it a template from layout plugin.
here it is... hidden link
The top big image is comming from the genesis template. and i cannot take it out of here.

Is there any documentation that you are following?
no, unable to find it
it works for the pages for exemple here : hidden link
i only have to select the "page builder" model from the wordpress backoffice.
but for the CPT there is no box in the wordpress back office to select the "page builder" model. (that is prensent in the theme)

Is there a similar example that we can see?

What is the link to your site?

#1130692

Hi Alexis,

Thank you for contacting us and I'll be happy to assist.

By default WordPress only offers support for "Template" selection option in "Page Attributes" section for "Pages".

To extend this support to custom post types too, you'll need to either add some custom code or a third-party plugin:
https://wordpress.org/plugins/template-for-custom-post-types/ ( plugin )
https://wordpress.stackexchange.com/questions/204657/apply-template-to-custom-post-type ( custom code )

Alternatively, you can also create a new file named "single-lpg.php" in your active child theme's directory and paste the contents of your page builder template file in this newly created file (removing the comments about the page template at the top).

After that, all your "lpg" custom post types will use that template, without any manual assignment.

You can learn more about WordPress' template hierarchy from:
https://developer.wordpress.org/themes/basics/template-hierarchy/

I hope this helps.

regards,
Waqar

#1130721

My issue is resolved now. Thank you!
regards

This ticket is now closed. If you're a Toolset client and need related help, please open a new support ticket.