Support » Themes and Templates » Calling WordPress PHP functions elsewhere on site

  • Hi all,

    Quick question. My WordPress installation resides at http://www.janet-love.com/news

    However, other files reside in the root of http://www.janet-love.com and also subdirectories of the site. Basically I have a script in http://www.janet-love.com/scriptname/subdirectory let’s say. I can customise the header and footer of that script as well to integrate with the site layout.

    However, I want to be able to call on WordPress PHP (such as the calendar), the sidebar etc, so that they appear on that page too.

    Obviously I can just insert <?php get_sidebar(); ?> but that doesn’t get processed if the files aren’t in the WordPress directory. And before you ask…this script is too complicated to integrate into a WordPress page.

    How do I do that? Hope I’ve made myself clear as I appreciate it’s a tricky situation to explain.

    Any help would be much appreciated!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Calling WordPress PHP functions elsewhere on site’ is closed to new replies.