WordPress.org

Ready to get started?Download WordPress

Forums

Calendar
How to use 'Calendar' plugin via the php code. (2 posts)

  1. Bhuvnesh Gupta
    Member
    Posted 1 year ago #

    Hello! it may be possible that this question is alreadt asked but I don't know where is it.

    I am using 'calendar' plugin http://wordpress.org/extend/plugins/calendar/

    For using this plugin functionality I have to write {calendar} on any post or page but my question is I want to use this plugin into my php code. How to call this from the php code.

    Reply

  2. Kieran O'Shea
    Member
    Plugin Author

    Posted 1 year ago #

    Try <?php echo calendar(); ?> or <?php echo calendar('1,3'); ?> the former will show a full page calendar with all categories displayed, the latter a full page calendar with just categories 1 and 3

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic