How to echo "Events URL slug" in wordpress page templates?

Home Forums Calendar Products Events Calendar PRO How to echo "Events URL slug" in wordpress page templates?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #931854
    Bryan
    Participant

    I’m trying to make a “View All” link to add to a layout template. I’m looking for something similar to the following:

    <h3>Upcoming Events</h3>
    <a class="viewall" href="<?php echo get_page_link( 'Events' ); ?>">View All &raquo;</a>

    Any help appreciated!

    #932124
    Brook
    Participant

    Howdy uwsfc,

    I’d be happy to help. It sounds like the function tribe_get_events_link() is what you are looking for. Just echo the output of that.

    Did that work? Please let me know. Cheers!

    – Brook

    #933521
    Bryan
    Participant

    <?php echo tribe_get_events_link() ?>

    did the trick! Thanks 🙂

    #933919
    Brook
    Participant

    Excellent. Happy to hear that. – Brook

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to echo "Events URL slug" in wordpress page templates?’ is closed to new replies.