WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
[resolved] Make upcoming events title a link (4 posts)

  1. newpixel
    Member
    Posted 3 years ago #

    Hi-

    I just started using the plugin, and it's been working well so far!

    Was wondering if there's a way to make the title of the 'upcoming events' widget a link to another page... in the php I see it has variables for $before_title and $after_title, which could conceivably be used to wrap the title in an a-href tag...

    Is there a 'proper' way to set those, or do I need to hack the php?

    Thanks

  2. Joe Dolson
    Member
    Plugin Author

    Posted 3 years ago #

    Simply use the templating tags provided with the plugin - as documented on the help page (also packaged with the plugin.)

  3. newpixel
    Member
    Posted 3 years ago #

    Thanks for replying... I saw the templating tags, but not sure how to get them to apply to the title of the widget. I would like to make 'events & sessions' (in the right sidebar) a link to another page on the site: http://artistsofliving.com/

    I tried just putting an 'a href' tag around 'events & sessions' in the title field, in the admin area for the widget but it always gets cleared out.

    -rich

  4. Joe Dolson
    Member
    Plugin Author

    Posted 3 years ago #

    I see - I didn't realize you were talking about the title of the widget, rather than the title of an event within the widget.

    There's no way of doing this within the plugin; you can implement it in your theme, in the functions.php file where widgets are declared - see http://codex.wordpress.org/Function_Reference/register_sidebar

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic