Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author EuroCizia

    (@eurocizia)

    Hi Jenny

    We are happy to hear that you liked WP Google Calendar Manager – Google Calendar Plugin, that is a pleasure to us.

    SHORTCODES:
    Free version
    [wpgc-calendar] : this shortcode is working when you use it in posts and pages to display your events in a nice multi-mode Calendar (month view- week view- day view).

    Pro version
    Has the shortcode of the free version ([wpgc-calendar]).
    [wpgc-events-list] : this shortcode used to display your events as a detailed list in your posts and pages.

    If you like we invite you to discover WP Google Calendar Manager pro features here.

    https://www.ads-software.com/plugins/wp-gcalendar/

    Thread Starter JennyColvin

    (@jennycolvin)

    Hi!

    First of all, thanks for your reply, but this doesn’t answer my question, unfortunately.

    I’ve already used the shortcode with success in a text widget I had in my sidebar. However, what I’d like to do now is to embed them directly into my theme, particularly in my sidebar.php and the shortcode doesn’t work there.

    Thread Starter JennyColvin

    (@jennycolvin)

    I’ve found a solution. I’ll post it here in case anyone else might be in need of it in the future.

    Simply add this code where you want it inside any of the .php files of your theme:

    <?php
    $calendar = '[wpgc-calendar]';
    
    echo do_shortcode ( $calendar );
    ?>
    Plugin Author EuroCizia

    (@eurocizia)

    Thank you Jenny, I hope this solution helps people in the future.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Embedding into theme’ is closed to new replies.