Home › Forums › Calendar Products › Events Calendar PRO › Events Page Always Marked as Current
- This topic has 6 replies, 3 voices, and was last updated 10 years, 8 months ago by Rob.
-
AuthorPosts
-
August 1, 2013 at 2:02 pm #58370Jonathan GoldfordParticipant
We have included the main Events page in the navigation of our website (through the WordPress menus system). When on that page the menu item is marked with the class “current-menu-item”. When you go to the list view, an individual event, month or most other places the menu item still maintains the class “current-menu-item”. This seems to be confusing to users and is not how the rest of the site operates. How can we change this so it only holds that class when on the main Events page?
Jonathan
August 6, 2013 at 3:31 pm #59162NeillMemberHi Wiredimpact,
First thing I’d check an see if there isn’t anything in your plugins that is causing this. Try deactivating all your plugins and testing. Then try switching to a default theme, and trying the same thing. Checking out those 2 issues can really help us get to the root of the issue a lot quicker.
When you try that and get back to us, would you mind also providing a URL where we can see the issue?
Thanks
NeillAugust 6, 2013 at 3:32 pm #59164NeillMemberSorry….. Jonathan. I was using your username as I didn’t see your actual name until after hitting post.
Thank Jonothan
August 7, 2013 at 7:44 am #59266Jonathan GoldfordParticipantThis reply is private.
August 8, 2013 at 5:48 pm #59609RobMemberHello Jonathan, thanks for the follow-up here. I looked into this further for you today and what you’ve requested here actually falls more into the realm of a customization – as that’s the intended design of the plugin, to have the menu option highlighted whenever an event/events-related page is accessed. But this is something you should be able to do using Javascript relatively easily: you already obviously know what the base URL for the events page is, so using Javascript you’d remove the highlighting when that URL is not actually what’s accessed (and add it back when it is).
As for the points you’ve made here, I’ve addressed them + your comments in a separate thread you’ve posted: https://theeventscalendar.com/support/forums/topic/repeating-event-shows-daily/. I’m going to mark the answer here and close the thread but please let me know if you have further questions at the aforementioned link.
August 15, 2013 at 4:41 pm #60637RobMemberHey Jonathan, I’ve re-opened this one per our email exchange!
August 16, 2013 at 2:57 pm #60843RobMemberClosing this. Opened the wrong one.
-
AuthorPosts
- The topic ‘Events Page Always Marked as Current’ is closed to new replies.