• I have a programming question about WordPress. Lets say I want to link to my blog through php. Lets say I have an index.php that brings up the rest of the site, then I’d ike for when I click on a link to a “journal”, you’re taken to a journal.php that has one line…

    <? @include(“blog/?????.??”); ?>

    Is there a way to do this? What would i put after the word blog/ so that php would know what to pull up? Thanks so much for your time.

    Regards,
    Paul Wilkes

Viewing 3 replies - 1 through 3 (of 3 total)
  • I am not sure I understand the logic.
    You mean you have an index page at the root and you want your blog displayed in a files called journal.php?
    Why to overcomplicate this? Can’t you just install your WP in a folder called “journal”?
    So your URI would look like yoursite.com/journal

    Thread Starter paulandthefrog

    (@paulandthefrog)

    well that’s what i’ve done, it’s in a folder called /blog, but i’m trying to keep the site uniform, so that I can pull up the blog with the title bar, menu, footer, other content, without having to write all of that into the script of the wordpress theme… if that makes any sense

    not really 🙁

    without having to write all of that into the script of the wordpress theme..
    All that which info?

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

The topic ‘PHP WordPress Blog Support’ is closed to new replies.