Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1151288

    Hey all,

    We are having issues with a client’s site that is using custom post types. The first issue is that when using color sections, grid rows, or full-width sliders as the first element on the page the submenu nav is hidden behind these elements. (you can see this under the “capabilities” and “companies” main nav items.

    The second issue we are having is the above elements in question do not respond to element visibility settings. For example on the page in private content the static image that first displays is supposed to be a mobile-only section while the video that plays is supped to be a desktop-only section.

    When troubleshooting we removed all plugins, updated plugins, and themes, reverted enfold to an earlier version when things were working, regenerated one of the custom post types, deleted unused functions, and used the inspector to find any abnormalities. When using the inspector we did notice that the pages main div closes early, before the content.

    These issues only show on custom post type pages, all other pages, portfolio items, and posts appear to be unaffected

    #1151878

    Hey guys,

    Any thoughts into what could be wrong with https://www.toolingsystemsgroup.com/company/advanced-tooling-systems/?

    I can get you login information.

    #1152151

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

    #1152163

    I just got the plugin installed and it’s working with (Email address hidden if logged out) now.

    Thanks!

    #1152195

    Hi,

    Great! Did you need additional help with this topic or shall we close?

    Best regards,
    Jordan Shannon

    #1152215

    No, it’s not solved – I meant, I got you the temporary login plugin installed and it’s set for you to check it out. Sorry for the miscommunication.

    https://www.toolingsystemsgroup.com/company/advanced-tooling-systems/ is still broken.

    #1153086

    Hi,

    Sorry for the confusion. The sliders are rendering outside the main container, which is probably why it covers the sub menu container — and it seem to be duplicated. Please post the login details or the temporary login link in the private field so that we can check the page. For now, try to enable the builder’s debug mode and the shortcode parser, then edit the page and update it.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#shortcode-parser

    Best regards,
    Ismael

    #1153096

    Hi Ismael sorry for not giving you the link for the temporary login before, it is in the private content arear now

    #1153745

    Ismael,

    I’ve extended the temporary login expiry in hopes that you can still look into this issue. We have resorted to using CSS in order to make sure the desktop headers only show on desktop and the mobile headers show only on mobile. Just to be clear, the element visibility functionality still does not work on our custom post type pages. This issue is in tandem with the sub menu being hidden under the content on these pages.

    I really hope you can look into this issue.

    Thanks again

    #1154829

    Hi,

    Sorry for the delay. We added the following snippet in the functions.php file to re-enable the advance layout builder and layout meta box for the custom post types. We also removed the old version of the avia_post_nav function. Please replace it with the current one or use the avia_post_nav_entries filter to reverse the navigations.

    
    /**
     * Advanced Layout Builder Custom Post Types
     */
    add_filter('avf_alb_supported_post_types', function ($array) {
        $array[] = 'companies';
        $array[] = 'core_businesses';
        $array[] = 'case_study';
        return $array;
    }, 10, 1);
    
    function avf_metabox_layout_post_types_mod( array $supported_post_types )
    {
        $supported_post_types[] = 'companies';
        $supported_post_types[] = 'core_businesses';
        $supported_post_types[] = 'case_study';
        return $supported_post_types;
    }
    add_filter('avf_metabox_layout_post_types', 'avf_metabox_layout_post_types_mod', 10, 1);
    

    Best regards,
    Ismael

    #1156429

    I forgot to respond to this – this worked great!

    #1156551

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Theme not working with custom post type and pages main div closing too early.’ is closed to new replies.