WordPress.org

Support

Support » Plugins and Hacks » My Calendar » [Resolved] [Plugin: My Calendar] Make upcoming events title a link

[Resolved] [Plugin: My Calendar] Make upcoming events title a link

  • newpixel

    @newpixel

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Joe Dolson

    @joedolson

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

    newpixel

    @newpixel

    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

    Plugin Author Joe Dolson

    @joedolson

    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Plugin: My Calendar] Make upcoming events title a link’ is closed to new replies.
Skip to toolbar