• Resolved fatherb

    (@fatherb)


    hi,

    I would like to add a button to the events manager shortcode that links to the individual event page.

    I have used the #_EVENTURL code to make a link and it works fine but I want to make this link a button – sort of a call to action.

    My canvas theme has shortcodes for buttons – [button]something[/button] I’ve tried to use that in the widget but it just prints out as text.

    Is there any way to use shortcodes in the widget? And if not, can I use a class to style the link instead?

    Thanks for any help

    http://wordpress.org/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    you can try something like

    <a href="#_EVENTURL" class="event-button">#_EVENTNAME</a>

    then do some css styling to make it looks like a button

    Thread Starter fatherb

    (@fatherb)

    Thanks for the help.

    Adding a class sorted it out. I just did an inspect element on another button elsewhere and copied that class on to the link.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Add a button to the event manager widget’ is closed to new replies.