- This topic has 5 replies, 3 voices, and was last updated 11 months ago by David.
November 4, 2020 at 7:51 pm #1518456Ramesh
I have a requirement to create secondary menu in specific page something like this https://activelittles.com/category/free-printables/
when I add secondary menu it is coming just below the main menu as per settings, but couldn’t find a way how to add secondary menu inside the page as a example shown in above link.
Also, I am using cards view to display the post, but my featured images are being chopped and not looking good.
Kindly suggest the solution for the same.
RameshNovember 5, 2020 at 1:12 am #1518628DavidStaffCustomer Support
you can position the Secondary navigation by doing this:
1. Customizer > Layout > Secondary Navigation – set Location to No Navigation
2. Create a new Hook Element with this content:
<?php generate_secondary_navigation_position(); ?>
Check Execute PHP
Then set your Display Rules to where you want it displayed.
In regards to your Card layouts – they are being generated by Elementor – there isn’t much we can do with that.November 5, 2020 at 12:50 pm #1519693Ramesh
Thank you, It worked. But, I am looking display secondary menu after certain content of that page. Like I showed in previous example. Also when user selects menu option, I wanted to stay in the same page and display the blog posts related to that category.
Exactly same as example show earlier.
Regarding Cards display, what is the other alternate to display blog post? is there any suggestion?
I wanted to display blog posts in cards display even in category pages or tags
Could you pls help on this?
RameshNovember 6, 2020 at 4:04 am #1520213DavidStaffCustomer Support
If you were using the GP Themes archive templates instead of static pages then you would be able to use Categories in your secondary nav, and simply set the display rules for the navigation to
Post Category Archive > All Categories.
But it cannot be done with static pages.
If you want to revert to using the Theme templates we can look at some CSS to style the posts to look more like cards.August 5, 2021 at 5:03 am #1884762Johan
Thanks for solving Ramesh issue. I do have the same, but I would like to NOT use a secondary menu, how to make a hook then?
Thanks in advance.
JohanAugust 5, 2021 at 6:43 am #1884859
- You must be logged in to reply to this topic.