Tagged: x
-
AuthorPosts
-
February 13, 2017 at 8:05 pm #1369863
VeronicaDParticipantHi,
I am creating deep links to grid filters. I have followed these instructions
https://www.themepunch.com/faq/deep-linking-grid-filters/The deep links are working great, except for…
The links will be accessible from the website top menu.See http://bransten.dilsweb.com/
WordPress 4.7.2
Theme X 4.6.4
Cornerstone 1.3.3Under Gallery, there is a link for Exterior and Interior.
The first link will work great, but then if you go to the next one from the top menu then it gets stuck.
For example from the top menu, if I go to Gallery > Exterior, then it loads properly. From there then go to Gallery > Interior, then the url changes but the deep link does not work (i.e the Interior photos are not appearing).Is there a way to clear this so that the page will reload with the new deep link? I am hoping this is possible.
Thanks for your help!
February 14, 2017 at 2:46 am #1370152
Paul RModeratorHi,
You can add this under Custom > Edit Global Javascript in the Customizer.
jQuery( document ).ready(function($) { $('.menu-item-371').on('click',function(){ $('.esg-filterbutton[data-fid="exteriors"]').click(); }); $('.menu-item-372').on('click',function(){ $('.esg-filterbutton[data-fid="interiors"]').click(); }); });Hope that helps.
February 17, 2017 at 7:33 pm #1375821
VeronicaDParticipantYes, it worked! Thanks!
February 17, 2017 at 11:05 pm #1375945
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1369863 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
