Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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.

    #1118903

    Hey 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,
    Victoria

    #1119623

    Hi 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?
    Thanks

    #1119663

    Hi jexjex,

    https://cl.ly/c8dcd230f840 Have you seen the blank template provided by the theme?

    Best regards,
    Victoria

    #1120970

    Hi Victoria, could you tell me the name of the file? Thanks

    #1121089

    Hi,

    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,
    Ismael

    #1121160

    Hi, 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.

    #1121426

    Hi,

    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,
    Ismael

    #1121635

    I will have a look to the template builder.php

    #1121760

    Hi 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.

    #1122029

    Hi,

    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,
    Ismael

    #1122158

    Hi,
    I have provided more info in the private content.
    Thanks for help

    #1122622

    Hi,

    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,
    Ismael

    #1122676

    That’s awesome!
    It was what I was looking for.
    By the way, how could I debug if it works?
    Thanks,
    Mirko

    #1122696

    Hi,

    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,
    Ismael

    #1122753

    Hi 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?

    #1123024

    Hi,

    -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,
    Ismael

    #1123063

    It works you are right! It was my fault.
    Thanks!!!!

    #1123317

    Hi,

    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

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Blank Template Page’ is closed to new replies.