WordPress.org

Forums

Google Calendar Events
[resolved] Code to insert widget calendar (3 posts)

  1. made33
    Member
    Posted 2 years ago #

    I need to insert the widget calendar directly with php code, I guess is possible? Which is the code can I use?

    best regards. Martin

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

  2. Ross Hanney
    Member
    Plugin Contributor

    Posted 2 years ago #

    Hi Martin,

    You can use the do_shortcode function to output a calendar with PHP, like this:

    <?php echo do_shortcode( '[google-calendar-events type="ajax"]' ); ?>
  3. made33
    Member
    Posted 2 years ago #

    Thank you for the prompt reply, it works great!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Calendar Events
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags