• Hi,
    By using Add to calendar button
    I can’t display post title and post content in Google calendar

    Here is my code
    [add-to-calendar-button styleLight=”–btn-background: #E97F03; –btn-text: #fff;” debug name=”{sc_start}post_title{sc_end}” options=”‘Apple’,’Google'” startDate=”{sc_start}acf field=date_evenement{sc_end}” endDate=”{sc_start}acf field=date_fin_evenement{sc_end}” label=”ajouter au calendrier” location= “{sc_start}acf field=lieu_evenement{sc_end}” description= “{sc_start}acf field=post_content{sc_end}”]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Jens Kuerschner

    (@jekuer)

    Yes, this is not supported by default.

    It is unofficially possible to use the result of a short code inside the short code. If whatever you set is no short code returning proper data it won’t work.

    When using the PRO version, meta fields and acf are supported in a more stable and official way. Even there, post title is not available (we might add it – this is a good feedback!). You could create a meta field with your post title however.

    Thread Starter nico-lino

    (@nico-lino)

    But why i succeded in with another project using free version of your plugin ?

    Plugin Contributor Jens Kuerschner

    (@jekuer)

    With the post title?

    This would be impossible unless you have a short code set up on your side with the same name.

    Thread Starter nico-lino

    (@nico-lino)

    I don’t understand what you mean by shortcode with the same name

    Plugin Contributor Jens Kuerschner

    (@jekuer)

    {sc_start}post_title{sc_end} translates into the shortcode [post_title /].

    If there is a shortcode “post_title”, which returns some text, this text would then be used for the title.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.