Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #1159935

    Hey all,

    We are having an issue with a site where the footer is printing the markup instead of showing the content that was built using ALB. This is the only page that is having issues and we had thought it had to do with the plugin we are using on the page (Events Calendar Pro) but another page with the same plugin displaying content is showing the footer just fine. We also tried finding a way to just not display the footer on this page at all so we are open to that too if there is no possibility of getting it to work. See private content for URL’s to both the page that needs help and the page that works fine.

    #1160558

    Hey Andrea,

    I’m seeing the same thing on both pages using Chrome, did you manage to get it working? If not then please let us know how to reproduce the problem.

    Best regards,
    Rikard

    #1160690

    Sorry, I need to get you a login to see the community events area. Here’s a login for ya!

    #1161505

    Hi,

    If you first remove the content of this page and then start adding it slowly, could you check if this would fix the issue?

    Best regards,
    Basilis

    #1161509

    Those pages are automatically created through the Events Calendar so there’s no way to rebuild them.

    #1162556

    Hi,

    Thank you for the update.

    Have you tried enabling the ALB for the “wp_router_page” post type? Is the post type created by a plugin?

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type

    Best regards,
    Ismael

    #1162646

    Hey Ismael,

    Community Events

    The page is automatically created by the plugin.

    #1162877

    Hi,

    Thank you for the update.

    The page seems to be an item from a custom post type called “wp_router_page”.

    body id=”top” class=”wp_router_page-template-default single single-wp_router_page postid-893 logged-in admin-bar rtl_columns stretched roboto theme-enfold woocommerce-js tribe-js tribe-theme-parent-enfold tribe-theme-child-curlyhost curlyhost tribe_community_edit customize-support” itemscope=”itemscope” itemtype=”https://schema.org/WebPage”

    Try to enable the ALB for the “wp_router_page” post type as described in the documentation above.

    Best regards,
    Ismael

    #1163087

    Ismael,

    I added in the php from https://kriesi.at/support/topic/layout-builder-added-to-popup-maker/ and changed the “popup” post type to wp_router_page in order to enable ALB for this post type and there is no change on the page. Could you help further? If you need access to anything in order to troubleshoot please let me know.

    #1163299

    Hi,

    Thank you for the update.

    I added in the php from https://kriesi.at/support/topic/layout-builder-added-to-popup-maker/ and changed the “popup” post type to

    The filter from that thread has been removed. You have to use the new filter “avf_alb_supported_post_types” as shown in the documentation.

    function avf_alb_supported_post_types_mod( array $supported_post_types )
    {
      $supported_post_types[] = 'wp_router_page';
      return $supported_post_types;
    }
    add_filter('avf_alb_supported_post_types', 'avf_alb_supported_post_types_mod', 10, 1);

    Docs: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#alb-for-any-post-type

    Best regards,
    Ismael

    #1163461

    Ismael,

    Unfortunately, that PHP snippet isn’t working either… maybe there is a way to just remove the footer on this particular page?

    #1163861

    Hi,
    Sorry for the late reply, when I checked your page I find this error:

    Failed to load plugin url: /wp-content/plugins/popup-maker/assets/js/mce-buttons.min.js

    2019-12-08-123549
    Please try disabling the popup-maker plugin to see if this corrects the error.

    Best regards,
    Mike

    #1164551

    Hey Mike,

    Thanks for the suggestion, we have already tried disabling plugins and checking themes. We also made sure everything is up to date.

    We did try disabling this plugin again and the issue is still present unfortunately.

    #1164741

    Hi,

    Thank you for following up.

    Try to edit the footer.php file, look for this code around line 48:

    $footer_widget_setting 	= ! empty( $footer ) ? $footer : $footer_options;
    

    Below, add this code:

    if(is_singular('wp_router_page')) {
        $footer_widget_setting = 'all';
    }
    

    This should display the default footer when a wp_router_page item is currently displayed.

    Best regards,
    Ismael

    #1164875

    Thank you! I can work with that!

    #1165070

    Hi,

    Great, I’m glad that Ismael could help you out with a solution. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 16 posts - 1 through 16 (of 16 total)
  • You must be logged in to reply to this topic.