-
AuthorPosts
-
July 15, 2019 at 12:04 pm #1118741
Hi guys,
in order to work with inboundnow plugin, I need to build a template page that do not contain any header, footer, and sidebar. (it is not proper a blank template)So I need to have the code in order to have the page working with only avia editor.
I am wondering if you can share this solution.Please Note that the standard features of the pages that allow the user to deactivate the header and footer won’t work in an inboundnow template. For that reason, I need to create the template page without the header and footer code.
Thanks.July 15, 2019 at 7:20 pm #1118903Hey jexjex,
What do you mean by an inbound template and why do you say that the blank template won’t work for you?
Best regards,
VictoriaJuly 17, 2019 at 5:20 pm #1119623Hi Victoria, have a look to this https://www.inboundnow.com/.
For default it use single.php as template for landing pages.
I believe a landing page should be without sidebar. So I wish to develop using a page.php file and not a single.
So what I need, if you already can share it, is the code for a standard page without header and footer (the plugin strip away your setting in the landingpage feature menu).
Could you help?
ThanksJuly 17, 2019 at 6:55 pm #1119663Hi jexjex,
https://cl.ly/c8dcd230f840 Have you seen the blank template provided by the theme?
Best regards,
VictoriaJuly 22, 2019 at 5:58 pm #1120970Hi Victoria, could you tell me the name of the file? Thanks
July 23, 2019 at 3:49 am #1121089Hi,
Edit the page then look for the Page Attributes box in the document sidebar. In that box you should see a Template dropdown where the “Blank – No Header, no footer” template can be selected.
Thank you for the update.
Best regards,
IsmaelJuly 23, 2019 at 11:05 am #1121160Hi, Ismael,
that won’t work for such plugin. (inboundnow)
I need to get the code and create my own page. If there is a place where I can get this code would be great.July 24, 2019 at 9:31 am #1121426Hi,
Thank you for the update.
You can refer to the existing template files in the theme e.g., page.php, single.php, template-builder.php etc. If you don’t want to include the header or the footer section, check the template-blank.php file.
Best regards,
IsmaelJuly 24, 2019 at 5:25 pm #1121635I will have a look to the template builder.php
July 24, 2019 at 10:15 pm #1121760Hi Guys, is there any way to set AVIA page builder in order to be visible in all the pages?
When I use my template, the avia editor is not visible.July 26, 2019 at 3:28 am #1122029Hi,
Hi Guys, is there any way to set AVIA page builder in order to be visible in all the pages?
What do you mean? The builder (ALB) is enabled for pages by default. All you need to do is switch to it. If you want to fetch the content of the ALB and place it in your custom template, use this code.
** * Filter the content for content builder elements */ $content = apply_filters( 'avia_builder_precompile', get_post_meta( get_the_ID(), '_aviaLayoutBuilderCleanData', true ) ); echo $content; // render the shortcodes or ALB elements
Best regards,
IsmaelJuly 26, 2019 at 1:28 pm #1122158Hi,
I have provided more info in the private content.
Thanks for helpJuly 29, 2019 at 5:08 am #1122622Hi,
Thank you for the update.
In order to do that, I have created a folder called “my-template-name” inside /wp-content/uploads/landing-pages/templates/webenjoy-standard-template
Do you want to enable advance layout builder for the “landing-pages”? I think the “landing-page” is a custom post type because as you’ve said earlier it relies on the single.php file by default. If that’s the case, you can use the following filter to enable the advance layout builder for that specific post type. Just ask the plugin author for the custom post type name.
function avf_alb_supported_post_types_mod( array $supported_post_types ) { $supported_post_types[] = 'YOUR CUSTOM POST NAME'; return $supported_post_types; } add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);
// https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type
Best regards,
IsmaelJuly 29, 2019 at 9:46 am #1122676That’s awesome!
It was what I was looking for.
By the way, how could I debug if it works?
Thanks,
MirkoJuly 29, 2019 at 10:45 am #1122696Hi,
You should be able to switch to the advance layout builder (ALB) when editing a landing page. And the content of the ALB should display in the front end.
Best regards,
IsmaelJuly 29, 2019 at 2:08 pm #1122753Hi Ismael, thanks
Yes, I understand that if it works I will see the page builder, but what I can do if I don’t see it?
How can I know if the filter is firing and everything is correct?July 30, 2019 at 3:50 am #1123024Hi,
-It means that you didn’t use the correct custom post type name or the landing page is not a custom post type.
How can I know if the filter is firing and everything is correct?
– Edit one of the landing pages and try to switch to the advance layout builder. If you can’t switch to the builder or you can’t see the builder switcher, then it means that the filter doesn’t work.
For additional help, please contact the plugin authors.
Best regards,
IsmaelJuly 30, 2019 at 9:01 am #1123063It works you are right! It was my fault.
Thanks!!!!July 30, 2019 at 9:56 pm #1123317Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
Please bookmark Enfold Documentation for future reference.
Thank you for using Enfold :)Best regards,
Basilis -
AuthorPosts
- The topic ‘Blank Template Page’ is closed to new replies.