upcoming events

Home Forums Calendar Products Events Calendar PRO upcoming events

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1409262
    Mel
    Participant

    Hi…. 🙂

    I have the upcoming widget on the home page of a new church site. (see pic)

    When the user clicks one of the events they are taken to the singe event page (see pic) which
    needs some changes!!

    Change 1: I would like to remove the see all link!

    Change 2: I would like the all events link to be a html button to go back to the previous page!
    Something simple like:
    <FORM>
    <INPUT TYPE=”button” VALUE=”Back” onClick=”history.back()”>
    </FORM>

    Or any method you think would work better…

    Thanks
    Mel

    #1409437
    Cliff
    Member

    Hi, Mel.

    1)

    This snippet should do the trick for you:

    https://gist.github.com/cliffordp/a07b30dbc08fcce0f00e1f3b57896e64

    2)

    You could use the tribe_get_events_link filter hook and create your own customization.

    #1410478
    Mel
    Participant

    Hi Cliff,

    The code snippet worked fine….

    I am not a programmer so not sure how to create a filter? Any other examples that might help? I just want that link to go to the home page and change the link text to “<< Back"

    Thanks
    Mel

    • This reply was modified 8 years, 4 months ago by Mel.
    • This reply was modified 8 years, 4 months ago by Mel.
    #1410497
    Mel
    Participant

    Hi Cliff,

    I ftp into my account and did not find the following folders: Located at src/functions/template-tags/link.php (Line: 114) as described in the link you gave me.
    See attached pic….

    Thanks
    Mel

    #1410793
    Cliff
    Member

    1)

    I’m glad that worked for you 🙂

    2)

    Your screenshot is from Events Calendar PRO. It’s actually in The Events Calendar.

    You don’t need to navigate there unless you are going to reference it for the sake of creating your own snippet, which you said you weren’t comfortable doing.

    For your request, you initially said, “to go back to the previous page” and provided a bit of JavaScript — basically acting as the browser’s “back” button.

    Now you’re saying the “All Events” link should go to your homepage instead of your Events page, right?

    If yes, are you wanting your Events page to basically be disabled, always redirecting to your homepage?

    #1411208
    Mel
    Participant

    Hi..

    Sorry for the confusion.. The flow of the calendar can be confusing to me.

    2) I would like the link/button to just go back to previous page
    ( like on the browser).

    Thanks as always, the support here is so good!

    Mel

    #1411355
    Cliff
    Member

    Please note that we normally do not provide such in-depth support — providing snippets — but we have leeway to go above-and-beyond for customers on occasion.

    Give this a shot and let me know how it goes:

    https://gist.github.com/cliffordp/60b5acf003fa68ad7803313d662c08e7

    #1411929
    Mel
    Participant

    Hi,

    Thank you button works fine….. Enjoy the Holidays!!!!

    Mel

    #1411984
    Cliff
    Member

    Glad to hear that. Thanks for letting me know.

    Same to you 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘upcoming events’ is closed to new replies.