Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    sorry this isn’t possible at the moment.

    Thread Starter witho

    (@witho)

    Is there no way to hack it?

    Thanks a lot!

    Plugin Support angelo_nwl

    (@angelo_nwl)

    hmm, try php file at wp-fullcalendar/wp-fullcalendar.php at around line 300 – defaultView: '<?php echo get_option('wpfc_defaultView', 'month'); ?>'

    Thread Starter witho

    (@witho)

    Yeah,

    I can hack it with something lke this:

    defaultView: '<?php if(strpos($_SERVER["REQUEST_URI"], "page_name") != false){echo 'month';} else{ echo get_option('wpfc_defaultView', 'month');} ?>',

    Thanks a lot!

    Hi, can you explain this a bit more?

    I am trying to achieve the same thing, but via a filter or hook if possible.

    I would like to leave the default set to ‘month’, and create another page that shows the ‘week’ view.

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Different defaultview for each calendar instance’ is closed to new replies.