Forums

[Plugin: ICS Calendar] PHP function to display the calendar on homepage? (2 posts)

  1. kReEsTaL
    Member
    Posted 5 months ago #

    Hello guys,

    I've just installed Wordpress ICS Importer, and the page on which the calendar and events appear is working just fine.

    However, I'd like to import them on my homepage.

    I use the Improved Include Page plugin, but it only prints "[show-ics-events]", and won't display the calendar itself! Like the "[show-ics-events]" code isn't parsed or something.

    Is there any PHP function I can call directly in my homepage template so that the calendar and the events will correctly display, please?

    NB: I'm not using sidebar widgets, I really look for a PHP function similar to <?php if(function_exists('ics-calendar')) show-ics-events(); ?>

    Thanks a lot for your help!

  2. Llasse
    Member
    Posted 1 month ago #

    Yes, this would also be nice for templates, where you could either choose a specific calendar either in multiple widget or as a php-command on certain template-files (where you'd only want to display maybe calendar #3)

Reply

You must log in to post.

About this Topic