Embedding Calendar into Theme?

Support for the WordPress Calendar plugin
aryxmyth
Posts: 2
Joined: Wed Sep 10, 2008 10:53 pm

Embedding Calendar into Theme?

Unread post by aryxmyth » Thu Sep 11, 2008 12:11 am

I would like to have my calendar be in the footer of my Wordpress Theme. Is that possible? I tried making a PHP call to calendar(); but it did not work.

User avatar
Kieran
Posts: 2059
Joined: Sat May 26, 2007 1:55 pm
Location: London
Contact:

Re: Embedding Calendar into Theme?

Unread post by Kieran » Thu Sep 11, 2008 8:47 am

You nearly got it right. You need to

Code: Select all

echo calendar();
at an appropriate place in your footer. Remember that you will need to ensure its in appropriate divs so it is centred or however you want it to be displayed; calendar is just in a table when called like this.

aryxmyth
Posts: 2
Joined: Wed Sep 10, 2008 10:53 pm

Re: Embedding Calendar into Theme?

Unread post by aryxmyth » Thu Sep 11, 2008 1:56 pm

Thanks - that worked. I just need to clean up the CSS a bit. Thanks again! - This is a great plugin...!

Post Reply