• Resolved alm

    (@alm-)


    Hey,

    So I have this code:
    <h2>[event-title] ([start-time]-[end-time] [if-location], [location] [/if-location])</h2>

    Which should output something like this if it has no location:
    Coffee Meetup (14:00-15:00)

    Instead it removes the last parenthesis and displays the following:
    Coffee Meetup (14:00-15:00

    If a do a space between the [/if-location] and the last parenthesis it displays but with a blank space before. Any ideas?

    http://wordpress.org/extend/plugins/google-calendar-events/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ross Hanney

    (@rosshanney)

    Hello,

    Apologies for the delayed reply.

    I’ve updated the development version of the plugin with an improved shortcode handling regex (well, I’ve stolen the one WordPress itself uses), and it seems to fix the issue you describe above.

    Thread Starter alm

    (@alm-)

    No worries. The development version worked great, thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Conditional tag removes parenthesis’ is closed to new replies.