petethebloke
Member
Posted 2 years ago #
Sorry - I'm not quite sure how to ask, but this is what I need:
I've got a column of dynamic content and I want it to appear in a WordPress page. The page works as a stand-alone PHP page using Ajax and its own MySQL database. Now I need to dump the generated content and javascript into the appropriate place in wp and set up a taxonomy for it etc.
If any of that isn't clear, please say so and I'll try to expand.
Thanks,
Pete
Have you tried adding the coding for this page via a custom page template?
http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
petethebloke
Member
Posted 2 years ago #
Thanks esmi, I read that page when I was searching, but I didn't quite take it in. After a 2nd reading I think I've got it. I'll report back once I've tried it out. Thanks.
Pete
petethebloke
Member
Posted 2 years ago #
Just a follow up - that worked fine. It took a while to figure out how to include my includes. The answer was:
<?php
set_include_path("../incs/");
/*because wordpress is at /wp and even though this file is at /wp/wp-content/themes/blahblah the calling page is /wp/index.php*/
require_once("my_include.php");
?>