Can the “Upcoming Events” appearing on the bottom of the event page be removed?

Home Forums Calendar Products Events Calendar PRO Can the “Upcoming Events” appearing on the bottom of the event page be removed?

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #19783
    Lydia
    Member

    See pic http://www.siddhayoganyc.org/images/Image1.jpg – Hoping to remove the bottom line on the Event page so that the only information displaying is the current event not what’s coming up next. Is this possible?

    #19821
    Rob
    Member

    Hi there Lydia. Thanks for the note here. So you just want to hide the next/previous links…right? (I saw a few arrows on that screenshot but I’m going to assume until I hear otherwise that these weren’t meant for me).

    If so, this thread – in which I directed the user to another, more useful one – https://theeventscalendar.com/support/forums/topic/remove-previous-and-next-from-event/ – may be of value. Please let me know if you’re still having issues from there and I’ll adjust my response accordingly. Cheers!

    #21097
    Lydia
    Member

    Hi Rob,
    Thanks for the response. I took a look at the threads regarding my question and to be honest, I’m not much of a tech person. The thread was a bit confusing for me because it refers to single.php file, then the tribe_previous_event_link(); and tribe_next_event_link(); including the wrapping div then finally to customizing the css (.custom .prev_next p {
display: none;
}
    So I’m no quite sure what to do.
    What file do I use to locate to remove the Upcoming Events from appearing on the bottom of the event page? I only want to remove that bottom line of the page no-where else. Everything else works fine for our purposes and should stay the same.
    Can you provide me with the file name and the actual line (what the code of the line looks like) so I can find it in the file?

    Thanks again.

    #21107
    Jonah
    Participant

    Hi Lydia,

    The prev/next events at the bottom of individual events is in /wp-content/plugins/the-events-calendar/views/single.php (or in your overridden single.php file in an ‘events’ folder in your theme). Lines 109 & 111 are the lines to work with.

    Does that help?

    – Jonah

    #21130
    Lydia
    Member

    Hey Jonah! Thanks for responding. Here’s are my lines 109 & 111:

    Am I deleting or commenting out? (e.g. */*/

    #21131
    Lydia
    Member

    lol ! I commented it out! let’s try this again, see my lines below:

    #21132
    Lydia
    Member

    Ok Jonah….sorry here’s the pastie for my 109 & 111 lines….http://pastebin.com/jtKPM84G, so what do you suggest comment out or delete? Thanks

    #21154
    Jonah
    Participant

    Hi Lydia,

    You would basically just remove both of those lines completely. Let me know whether or not that works.

    – Jonah

    #21371
    Lydia
    Member

    Jonah that worked perfectly! Thanks!

    #21583
    Rob
    Member

    Great to hear that got you where you need to be, Lydia. Let us know if we can do anything else and thanks again for your support so far.

    #977272
    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 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Can the “Upcoming Events” appearing on the bottom of the event page be removed?’ is closed to new replies.