WordPress.org

Ready to get started?Download WordPress

Forums

Google Calendar Events
multi-language event builder (3 posts)

  1. mantish
    Member
    Posted 3 months ago #

    Hi,
    I'm using the plugin in a multi-language site with polylang.
    The calendar works fine, but I haven't founsd a way to translate strings inside the events builder.
    Is it possible to use php or custom shortcodes inside the vent builder?.
    I'd like to do something like this:

    [link newwindow="true"]<?php pll_e('More details...'); ?>[/link]

    https://wordpress.org/plugins/google-calendar-events/

  2. Ross Hanney
    Member
    Plugin Author

    Posted 3 months ago #

    Hello,

    PHP definitely won't work, I'm afraid.

    I'm not familiar with Polylang, does it provide shortcodes for different languages?

  3. mantish
    Member
    Posted 3 months ago #

    Hi Ross,
    There are no shortcodes in Polylang but I guess I could create the shortcode in my theme.
    How should I do it?

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.