View Full Version : Does anyone actually know how to get the calendar to a wordpress page?
How do I get the calender onto a Wordpress page? I need it to be in the body of a page. I need step-by-step instructions from someone who's actually done it. Please don't send me to the epctutorials links...that information is incomplete.
Thanks!
ve9gra
01-23-2010, 10:48 AM
The information is not incomplete. I'm the one who put that tutorial together and that is the steps that I use for every time that I integrate EPC in WP.
Use the first half of Part 1, and Part 2.
What am I missing ???
The loops you refer to in your help are not in any page I have found. The Wordpress theme is Atahualpa 3.4.5. Although I want the calendar to be on the body of a page, I also tried your sidebar instructions but couldn't find the sidebar.php file.
I did find the page.php in the theme and made a copy as advised, but there is no code with "have_posts" in the file. Am I using the wrong file?
I really want to use the calendar, but I still don't have a clue how.
Your help would be greatly appreciated...
ve9gra
01-24-2010, 11:16 AM
The instructions state that the name of the files or location of the code will change from theme to theme, which is why I don't simply give out full page code.
Your page template could be called gobbledygook.php for all I know.
Now, the sidebar is a different beast as a lot of themes have now adopted the dynamic sidebar engine. There is no longer a sidebar.php file and the sidebar is instead generated at run-time.
Which version of WP are you running? Now with knowing the theme, I will try the integration with WP 2.9.1 and Atahualpa 3.4.5.1 and let you know the result.
ve9gra
01-24-2010, 12:26 PM
No wonder you had issues understanding... that theme doesn't have a page template! Basically, you have to use the main template page instead (index.php).
Here's the steps that I followed (using WP 2.9.1 and Atahualpa 3.4.5.1):
1- Open header.php and add the $CSS and $OL lines
2- Take index.php and copy it into a new file epcpage.php
3- Add the page template header at the top
4- Add the code for the TOC around line 25 where the comment "This is the actual Wordpress LOOP."
5- Also add any other code you'd like, like for the List mode (optional)
6- Create new page and select the "Calendar page" template
7- Name your page and add any text you'd want displayed above the calendar
8- Disable comments and trackbacks
9- Publish your page
For simplicity's sake, I'm attaching header.php and epcpage.php, but make sure that you're using the exact same version as I'm not sure if any code changes between the 3.4.5 and 3.4.5.1 would affect these files. Simply upload them to the Atahualpa theme folder and continue from step 6.
NOTE:For this to work, the calendar has to be installed inside of your wordpress folder. Basically it should be at the same level as the wp-admin and wp-content folders. And the calendar has to use the same database as your WP installation.
Thanks for the effort in trouble-shooting this!!! I'll give it a go!
I'm glad it wasn't just me...
I'll let you know how it comes out...
Thanks for the help! It installed and ran great.
The only thing left is getting the pop-ups to left-justify.
I tried installing and using tinymce, but it has no effect.
Any ideas?
Thanks
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.