Nav menu (Max Mega Menu & Elementor) / Hook
This topic contains 19 replies, has 3 voices, and was last updated by Alex Rollin 5 years, 11 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 13, 2019 at 12:35 pm #480509
hello,
I need help !!
I built a site with V1. I built a new site with V2.
In the new site:1. Nav menu – Max Mega Menu
In V1 I used the plugin Max Mega Menu and it worked. Now, I have an error in the theme editor and the location (#location-switcher) doesn’t link. I deactivated all plugins except Max Mega Menu and Geodirectory and I had the same result.2. Nav menu – Elementor
In V2 I used the plugin Elementor to have a submenu in pages and it worked. Now, it works but without formats (only as a list) in some GD pages.
Search & Location & Add listing– OK
Archive & Detail – without format
But if I link to archive & search from location page categories (featured area) it works with list and also format – it duplicates !!??3. Nav menu – Conditional Menus
I use the plugin Conditional Menus. Selecting * GD Archive / GD Details / Location / Search page * it works only in some GD pages.
Search & Location & Add listing pages – OK
Archive & Detail – without format4. Hook
DETAIL PAGE // ADD WIDGET SIDEBAR → CODE SNIPPET
register_sidebar( array(
‘id’ => ‘geodir-details-sidebar-top’,
‘name’ => ‘GD Detail Top Sidebar’,
‘before_widget’ => ‘<div class=”geodir-company_info geodir-details-sidebar-top”>’,
‘after_widget’ => ‘</div>’,
) );// Add Detail Top Sidebar Widget to Page
function details_sidebar_top ( $sidebar_top_content ) {
dynamic_sidebar(‘geodir-details-sidebar-top’);
return $sidebar_top_content;
}
add_filter( ‘geodir_detail_page_more_info_html’, ‘details_sidebar_top’,10,1);I used this snippet in V1 and I would like to add a top sidebar before header, so I must change ‘geodir_detail_page_more_info_html’ but I don’t know what’s the hook…
Can I have several top sidebars for each CPT?Thanks !!
April 13, 2019 at 8:38 pm #4805471. The Change Location feature is a menu item now, like a menu link. You can add it to the menu easily. Open WP – Appearance – Menus – At the top of the screen select GeoDIrectory endpoints, and then the change location menu item.
2. Are you using Elementor Pro theme builder? You can add whatever you want into your layouts. What is the problem exactly? It is a menu, right? So use Elementor to style the menu?
3. You can use WP conditional tags for Single CPT and Archive CPT, or Search CPT. Is that what you are looking for?
4. If you are using Elementor why do you need snippets to add layout options?
April 13, 2019 at 10:00 pm #480566Hello,
Thanks. But…
1. I know and the #location-switcher works. But if I use Mega Menu it doesn’t work. And the plugin editor do not display correctly too.
2. Nav menu – Elementor
I used Elementor to style a menu but it works only in some GD pages.
Search & Location & Add listing– OK
Archive & Detail – without format
But if I link to archive & search from location page categories (featured area) it works with list and also format – it duplicates !!??3. Well, I dont know how to use WP conditional tags for Single CPT and Archive CPT, or Search CPT. So, I use a plugin – Conditional Menus – but I have the same problem: it works only in some GD pages.
April 14, 2019 at 8:03 am #480599This reply has been marked as private.April 15, 2019 at 7:51 am #480749Hi Maria,
Thanks for your reply. Could you share your Website WP admin access here in private reply and also share those URL of page links you’re referring to?
Thanks!
April 15, 2019 at 12:36 pm #480818This reply has been marked as private.April 15, 2019 at 9:39 pm #480956When I try to login I see ERROR: The password you entered for the username geodirectory is incorrect. Lost your password?
April 16, 2019 at 7:03 am #481021This reply has been marked as private.April 16, 2019 at 11:58 am #481093hello
5. I marked the cpt cinema – no location. Export listings and import the same file (update listing if post ID already exists):
Total 74 item(s) found.
74 / 74 item(s) could not be added due to blank title/invalid post type/invalid characters used in data.
Row 2 Error: Not enough location info for address.
Row 3 Error: Not enough location info for address.
Row 4 Error: Not enough location info for address.
Row 5 Error: Not enough location info for address.
Row 6 Error: Not enough location info for address.
April 16, 2019 at 5:26 pm #481151This reply has been marked as private.April 16, 2019 at 7:09 pm #481176This reply has been marked as private.April 16, 2019 at 7:31 pm #481181sorry. done.
April 16, 2019 at 11:20 pm #481214Please disable that coming soon feature and any cache plugins on the site so we can take a look.
If you need to hide the site choose a plugin that does not hide the site for admins after login so we can actually see the issue.
April 16, 2019 at 11:25 pm #481215This reply has been marked as private.April 17, 2019 at 12:10 am #481223About the template rendering, you are not using Elementor Theme Builder. You must use Elementor theme builder on Archive, Search, and Detail page templates.
About Max Mega Menu, I have flagged your topic for the developers to let us know if the “Change Location” feature can be used in a Max Mega Menu.
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket