• petethebloke

    (@petethebloke)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • esmi

    (@esmi)

    Have you tried adding the coding for this page via a custom page template?

    https://codex.www.ads-software.com/Pages#Creating_Your_Own_Page_Templates

    Thread Starter petethebloke

    (@petethebloke)

    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

    Thread Starter petethebloke

    (@petethebloke)

    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");
    ?>
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding a Dynamic Page to a Theme – Help Please’ is closed to new replies.