Home › Forums › Calendar Products › Events Calendar PRO › Nav_Menus disappear in Events Search results
- This topic has 13 replies, 3 voices, and was last updated 12 years, 10 months ago by
Barry.
-
AuthorPosts
-
June 1, 2013 at 10:19 am #50310
Annette
ParticipantHi, When the archive is called for a Tribe Events search all the nav_menus disappear – I fixed this for my other custom post types via http://pastebin.com/bagTtCQ5 but this is not resolving the problem with the Events. Can you help us please?!
http://www.leisurecourses.net/?post_type=tribe_events&dates=2013&dates=july-august-septJune 3, 2013 at 7:00 am #50366Barry
MemberHi Annette,
It looks as though you might be using default (or “ugly”) permalinks and our plugins do not work nicely with those.
Instead, if at all possible, can you switch to pretty permalinks (ie, the postname format provided by WordPress in Settings → Permalinks)? You can find more information on permalinks here:
June 3, 2013 at 7:17 am #50368Annette
ParticipantHi Barry, Thanks for the response but the website is using pretty permalinks already.
The nav menus did disappear on other archive pages for custom post types, but I fixed that – it’s just the Event archives that are not showing the nav_menus now.June 3, 2013 at 7:23 am #50369Barry
MemberOK. If you use pretty permalinks to access event listings is there still a problem? For instance if I use:
http://www.leisurecourses.net/courses/upcoming/
Instead of:
http://www.leisurecourses.net/?post_type=tribe_events&dates=2013&dates=july-august-sept
(Which is what you posted initially – and is an example of default permalinks) it looks as though the navigation menus are present? Does that help at all/am I misunderstanding the problem?
June 3, 2013 at 7:29 am #50374Annette
ParticipantThe nav_menus are there when you look at the standard template for an event or upcoming – so that is fine, but if someone searches for an event ((tribe_events) custom post type is included in site loop) the search results page (normally the archive page) is dropping the nav_menus.
June 3, 2013 at 8:27 am #50382Barry
MemberHmm, ok. If I test this out and search on a test site using only our plugins and the default Twenty Twelve theme I don’t have this problem – searches such as:
example.com/?s=search+terms&post_type=tribe_events
Do not result in the navigation menu disappearing. I also find that even if the post type is not explicitly set (as follows) there is no problem:
example.com/?s=search+terms
Though matches are not then specific to events. Either way I can’t replicate what you are seeing. To go back to your initial post you cited the following URL:
http://www.leisurecourses.net/?post_type=tribe_events&dates=2013&dates=july-august-sept
How is that being built? Is it by custom code?
June 4, 2013 at 12:41 am #50461Annette
ParticipantVisitors can search the events using a taxonomy search plugin – the nav_manus do not disappear when archive pages load for searches on the other 2 other custom post types – only the tribe_events
June 4, 2013 at 8:00 am #50482Barry
MemberOK, thanks for the info. The problem here is that if your search plugin works by building what is, essentially, a default URL (bearing in mind our plugin will not work nicely with those) we are going to hit something of a wall.
If I take the query you posted originally and transpose it to a test site – which of course doesn’t have your search plugin and uses a default theme with a regular WordPress nav menu set up – the menu does not disappear and I generally can’t replicate the problem.
So this does look like it is specific to your use of the search plugin and/or your theme and how its menus are implemented; I’m not too sure there is much further assistance we can offer you here.
Have you tried to replicate this yourself with a default theme running instead of your custom theme?
June 16, 2013 at 1:21 pm #51460alancoyne
ParticipantHi Annette,
What search plugin are you using?
Tks
ALanJune 17, 2013 at 12:55 am #51472Annette
ParticipantHi Alan – it is this one http://codecanyon.net/item/taxonomies-filter-widget/4282257
June 17, 2013 at 2:19 am #51475alancoyne
ParticipantThanks Annette
June 17, 2013 at 2:07 pm #51539Barry
MemberThanks for answering Alan, Annette 🙂
Did you have a chance to follow up with further testing against a default theme / do you need further support here?
June 18, 2013 at 12:50 am #51565Annette
ParticipantHi Barry, I’m still trying to find a solution to this – could you please keep this thread open for now ?
Many thanksJune 18, 2013 at 6:13 am #51584Barry
MemberCertainly 🙂
-
AuthorPosts
- The topic ‘Nav_Menus disappear in Events Search results’ is closed to new replies.
