Forums

how to load wordpress code into subdirectories (2 posts)

  1. lenglain
    Member
    Posted 1 year ago #

    Hi!

    so mysite.com is up and running with a custom front end and a wordpress backend (to allow my friend to update via her wp dashboard wherever i've inserted a wp loop). do i have to reinstall wordpress entirely in mysite.com/resume ? i tried just inserting index.php in the resume subdirecotry but it doesnt work. I dont want to use a page template because mysite.com/resume needs a completely different design from mysite.com/production, etc...

    for each link on the navbar id like to design the page for that link from scratch.

    help please!

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 1 year ago #

    you shoulb just be able to make the pages and include what you want with a bit of php in the header, and then the loop

    http://www.corvidworks.com/articles/wordpress-content-on-other-pages

    it's just getting this line right in the header:
    require('./blog/wp-load.php');

    which in your case may be require('../wp-load.php'); or something

Topic Closed

This topic has been closed to new replies.

About this Topic