remove links on venue and category

Home Forums Calendar Products Events Calendar PRO remove links on venue and category

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1131738
    Joseph
    Participant

    How do I remove the links to the event category and venues. I do not want to have venue pages and category pages.

    #1132286
    Cliff
    Member

    Hi 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/?

    #1132368
    Joseph
    Participant

    This 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/?

    #1132708
    Cliff
    Member

    I’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.

    #1134212
    Joseph
    Participant

    Is 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!

    #1134233
    Cliff
    Member

    Hi 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.

    #1140369
    Support Droid
    Keymaster

    This 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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘remove links on venue and category’ is closed to new replies.