accessing the loop outsite the blog (1 post)

  1. RobR
    Posted 10 years ago #

    I am creating a new site and am using WP to power the news section of it (so that non html type people of the society can contribute to it etc).

    At the moment I have set up WP in a folder called "news" in the public_html folder. There are various parts of the website, like contact, about etc, and a home page. It is on the home page that I would like to access the WP stuff just for a summary of the 5 most recent posts.

    Using various template tags would be easiest if only they would work outside the WP folder news. Is there a way I can do that? Or do I have to write new code to access the MySQL database (would rather not faff that much).


Topic Closed

This topic has been closed to new replies.

About this Topic