Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter johnwebman

    (@johnwebman)

    I worked it out myself!

    <?php echo wpsbc_shortcode(array(id=>"1", title=>"no", legend=>"yes", dropdown=>"yes", start=>"1", display=>"1", language=>"auto", month=>"0", year=>"0", history=>"1")); ?>

    or for more generic use you could pass the calendar id (and other settings as required) into this via some variable, like this example.

    <?php echo wpsbc_shortcode(array(id=>$cal_id, title=>"no", legend=>"yes", dropdown=>"yes", start=>"1", display=>"1", language=>"auto", month=>"0", year=>"0", history=>"1")); ?>

    I am looking exactly for the same. I assume you are using the Pro-Version, since with the free Version your Solution doesn’t seem to work.

    Thread Starter johnwebman

    (@johnwebman)

    Yes it’s the pro version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calendar using PHP and not shortcode’ is closed to new replies.