1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. To combat forum spam, we are temporarily disabling the ability to create new accounts for the forums. Please feel free to open a support ticket through out client area with any support issues. You can also search the forums for answers to many questions.

where to install calendar if WP install is not in root directory?

Discussion in 'Wordpress' started by lauras2009, Aug 11, 2009.

Thread Status:
Not open for further replies.
  1. lauras2009

    lauras2009 New Member


    I am trying to install the calendar into WordPress on my local machine. My WP install is two levels down from the server root directory, i.e., /wordpress/JCDS/ .

    Where should I put the calendar so that it will work?

    I am assuming that the code that goes into the header.php file will have to be adjusted accordingly (depending on where the calendar directory goes).

    Similarly, if I want to create a WordPress "page" that calls the calendar (I do not want to put it in the sidebar), do I just create a page and use this code (again, adjusted for wherever the calendar directory will go)?

    <?php require("calendar/calendar.php"); ?>


    Thank you very much,
    Laura S.
  2. lauras2009

    lauras2009 New Member

    I played around with it and figured it out. I started with the whole path:
    /root/next-dir/next-dir2/next-etc/etc/ and then tried deleting the first slash / and reloading the page, and then deleting /root, and reloading the page, and then deleting /root/, and reloading, and then deleting /root/next-dir, reloading, etc.

    Trial and error finally worked and I figured out the right path.
  3. ve9gra

    ve9gra Support Team

    Sorry for my delay to respond... Have a look at the tutorial on how to install EPC in WP Part 1 and Part 2.
Thread Status:
Not open for further replies.

Share This Page