WordPress.org

Support

Support » Plugins and Hacks » How to use 'Calendar' plugin via the php code.

How to use 'Calendar' plugin via the php code.

  • Bhuvnesh Gupta
    Participant

    @bhuvnesh

    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

Viewing 1 replies (of 1 total)
  • Plugin Author Kieran O'Shea
    Member

    @kieranoshea

    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

Viewing 1 replies (of 1 total)
  • The topic ‘How to use 'Calendar' plugin via the php code.’ is closed to new replies.