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?
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
My issue is resolved now. Thank you!
regards