-
AuthorPosts
-
October 25, 2019 at 8:34 pm #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
October 28, 2019 at 9:05 pm #1151878Hey guys,
Any thoughts into what could be wrong with https://www.toolingsystemsgroup.com/company/advanced-tooling-systems/?
I can get you login information.
October 29, 2019 at 9:44 pm #1152151Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
BasilisOctober 29, 2019 at 10:41 pm #1152163I just got the plugin installed and it’s working with (Email address hidden if logged out) now.
Thanks!
October 30, 2019 at 12:14 am #1152195Hi,
Great! Did you need additional help with this topic or shall we close?
Best regards,
Jordan ShannonOctober 30, 2019 at 1:55 am #1152215No, 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.
November 1, 2019 at 4:30 pm #1153086Hi,
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,
IsmaelNovember 1, 2019 at 4:53 pm #1153096Hi Ismael sorry for not giving you the link for the temporary login before, it is in the private content arear now
November 4, 2019 at 6:17 pm #1153745Ismael,
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
November 8, 2019 at 4:25 am #1154829Hi,
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,
IsmaelNovember 13, 2019 at 3:59 pm #1156429I forgot to respond to this – this worked great!
November 13, 2019 at 10:43 pm #1156551Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Theme not working with custom post type and pages main div closing too early.’ is closed to new replies.