WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] {link_title} doesn't work (5 posts)

  1. box
    Member
    Posted 1 year ago #

    I Used the "My Calendar: Upcoming Events" widget in the sidebar.

    The "Template" value set in the widget is:
    {date}
    {link_title}

    However, the 3 events shown in the sidebar on the http://198.23.131.153/gchf/ page don't link to anywhere. May I know why? Thanks in advance.

    http://wordpress.org/extend/plugins/my-calendar/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    Did you add links for those events? The link_title tag uses the link you entered for your event; and just returns the title if there isn't one assigned.

  3. box
    Member
    Posted 1 year ago #

    Hi Joe,

    Thanks for your reply. I added a page at http://198.23.131.153/gchf/event-details/ whose content is "[my_calendar]". The events may be found at http://198.23.131.153/gchf/event-details/?mc_id=6 and http://198.23.131.153/gchf/event-details/?mc_id=2. But the events in the sidebar still have no links. Any ideas?

    Thanks,
    Box

  4. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    I can't tell in any way from looking at your site whether your events have links included. Did you add a link when you created the event? Link_title will link to that - usually, an external link of some sort, but it can be anything.

    If you're looking for a link that uses the event details page, you want {details}, which will work as long as you've defined a target page in the settings.

  5. box
    Member
    Posted 1 year ago #

    Hi Joe,

    I see. I just noticed the "Event Link (Optional)" custom field on the "Edit Event" page. The events in the sidebar have links after I setting this custom field. :)

    Thanks for your help. :)

    Best regards,
    Box

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags