Forums

Use wp_list_pages on subdirectory forum header. (1 post)

  1. austang
    Member
    Posted 2 years ago #

    I'm customizing my phpBB forum to match my wordpress theme.
    If it matters the forum is using prosilver_se.

    Right now the navigation bar on my main page is being drawn by wordpress pages, I can manually replicate them but I'd like to keep the forum side being drawn by wordpress.

    I'm trying to incorporate the wp_list_pages command into the overall_header.html file via a <?php require ();?> command I guess?

    I was reading the only way to do this is to make a call to wp_load.php so that the non-wordpress site (www/forum) can use the WP php command.

    However I'm not getting it right and there is little documentation on this. Or perhaps I'm close but I'm just not calling to root directory correctly, since that is where wp_load.php is.

    I found a makeshift script for it

    Here: http://forum.bytesforall.com/showthread.php?t=117
    Here: http://wpengineer.com/embed-wordpress-functions-outside-wordpress/
    Here: http://www.wptavern.com/forum/troubleshooting/882-list-pages-another-wordpress-non-wordpress-site.html

    But there isn't any real documentation or an example code of how to call to a wp_load.php file that resides on the root of the site. Yeah, wordpress is installed in the www (root) folder.

    Anyone experience this or know how to fix it?

Topic Closed

This topic has been closed to new replies.

About this Topic