WP Calendar
[resolved] Link event to post (4 posts)

  1. JCarita
    Posted 5 years ago #

    Hi there, I'm using WP Calendar to have a list of the next 5 events for my youth group!

    And I'm doing a post for every event with auto sync, but how can I change the home page code for opening the event post?

    I have this one template:
    <p><strong><a href="{event_url; linktopost=1}" title="{event_subject}">{event_subject}</a></strong><br />{event_startdate} - {event_enddate} @ {event_location}</p>

    And on Template for Listoutput:
    <strong><a href="{event_url}">{event_subject}</a></strong><br />{event_startdate} {event_starttime} - {event_enddate} {event_endtime} @ {event_location}

    What should I change?

  2. faebu
    Plugin Author

    Posted 5 years ago #

    how do you integrate these 5 events in your homepage? widget? php code? page tags?

  3. JCarita
    Posted 5 years ago #

    By widget.

  4. JCarita
    Posted 5 years ago #

    I've figured it out!

    I needed to update the widget as well :)

    Great work with this plugin ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic