hide next event link

Home Forums Calendar Products Events Calendar PRO hide next event link

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #249454
    mcomarketing
    Participant

    hi, i’ll try hide the link “next & previous event” with CSS like this.

    ul.tribe-events-sub-nav a, .tribe-events-back a, .tribe-events-list-widget .tribe-events-widget-link a, .tribe-events-adv-list-widget .tribe-events-widget-link a {
    text-decoration: none;
    display: none;
    }

    well, this hide all the links (included “all events” link to the calendar) and previous and next months links

    is possible hide only the link “previous and next” event at detail of event??

    The problem is, this link shows ALL events (in spanish and english), for example, each tournament have two languages if you make link to the detail in english, shows the next event (the same event in spanish translation) this redirect to the page in spanish 🙁

    Thanks.

    #250200
    Barry
    Member

    is possible hide only the link “previous and next” event at detail of event??

    An alternative approach would be to set up a custom template (month/nav.php) – full details of this process are described in our Themer’s Guide, but in essence you could simply create an empty file located as follows:

    wp-content/themes/your_theme/tribe-events/month/nav.php

    Since this generates the next/prev month links, if it is left empty none will actually display.

    Might that help?

    #252090
    mcomarketing
    Participant

    sorry!! I have not explained well
    please, check this link
    http://s511456428.mialojamiento.es/aloha-news/event/vii-benefico-autismo-angel-riviere/

    this is the detail of date 5 july, well
    here you can see two links to the previous event “25-6-2014 Mens Day” and the next event “VII BENEFICO AUTISMO ANGEL RIVIERE “.
    these are the links that we want to hide.

    the link on top “All Events” must be also visible .

    and, if you look better, the link of the next event its the same! that is because these event are in two languages, for any reason or incompatibility with WPML shows the calendar with the events together.
    This is the reason for hide these links only, not the links months in general calendar here

    http://s511456428.mialojamiento.es/aloha-news/event/

    thank you so much, i’m very glad with these support.

    #253125
    Barry
    Member

    this is the detail of date 5 july, well
    here you can see two links to the previous event “25-6-2014 Mens Day” and the next event “VII BENEFICO AUTISMO ANGEL RIVIERE “.
    these are the links that we want to hide.

    OK, so a piece of CSS like this (added to a custom tribe-events.css stlyesheet for example) should do the trick:

    .tribe-events-sub-nav { display: none }

    Does that help?

    #254465
    mcomarketing
    Participant

    thanks! the line of css is ok here…
    http://s511456428.mialojamiento.es/aloha-news/event/25-6-2014-mens-day/

    but, this code make out of here the “month links” here…
    http://s511456428.mialojamiento.es/aloha-news/event/

    sorry my insistence, but the month links would be visible also.

    #254712
    mcomarketing
    Participant

    well, i got it with this css, maybe this be useful for someone!
    thanks!

    .single-tribe_events #tribe-events-footer, .tribe-events-day #tribe-events-footer, .events-list #tribe-events-footer, .tribe-events-map #tribe-events-footer, .tribe-events-photo #tribe-events-footer
    {display: none;}

    #255896
    Barry
    Member

    Awesome – thanks for sharing 🙂

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘hide next event link’ is closed to new replies.