Home › Forums › Calendar Products › Events Calendar PRO › remove links on venue and category
- This topic has 7 replies, 4 voices, and was last updated 9 years, 9 months ago by
Joseph.
-
AuthorPosts
-
June 24, 2016 at 1:52 pm #1131738
Joseph
ParticipantHow do I remove the links to the event category and venues. I do not want to have venue pages and category pages.
June 27, 2016 at 7:44 am #1132286Cliff
MemberHi Joseph.
Could you please clarify your request?
Are you wanting all category links (e.g. http://wpshindig.com/events/category/tech-events/) to redirect somewhere else (e.g. http://wpshindig.com/events/)?
Or are you wanting the links just hidden/removed, like this for http://wpshindig.com/event/startup-happy-hour/2016-06-03/?
June 27, 2016 at 8:52 am #1132368Joseph
ParticipantThis is what I wanted…The category and venue thinks removed from the event page like this. Or are you wanting the links just hidden/removed, like this for http://wpshindig.com/event/startup-happy-hour/2016-06-03/?
June 27, 2016 at 7:08 pm #1132708Cliff
MemberI’m sorry Joseph. I wasn’t clear on what you are wanting, but I think you said you want to hide them, like this.
Here’s some CSS code that can work ok for what you want:
body.single-tribe_events .tribe-events-event-categories, body.single-tribe_events .tribe-venue { display: none; }You can add custom CSS code via your child theme’s style.css file or via a plugin like Simple Custom CSS or, my favorite, Jetpack. Jetpack supports regular CSS and the LESS and Sass pre-processors.
If you’re not a CSS expert, Jetpack’s Custom Design reference may prove helpful.
===
However, to really customize it, please refer to our Themer’s Guide.
Please let me know how it goes for you.
June 30, 2016 at 2:04 pm #1134212Joseph
ParticipantIs there anyway to remove just the links on the categories? I still want to see the category name but do not want them linking. If not the code above does work but it leaves the word “event category” there but the category is gone. If I can not remove just the link how can I removed the word “Event Category”
Thanks!
June 30, 2016 at 3:03 pm #1134233Cliff
MemberHi Joseph. Here’s a code snippet to remove the HTML link tag from Event Categories:
https://gist.github.com/cliffordp/7c6f0fcca3fe7dab47c23e1726a9ecbe
Please let me know if this works well for you.
July 15, 2016 at 9:35 am #1140369Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘remove links on venue and category’ is closed to new replies.
