WordPress.org

Forums

Use wordpress menu on non word press pages (3 posts)

  1. m3rl1n
    Member
    Posted 1 year ago #

    Hi, i'm looking for a way to include a wordpress menu on other areas of my website (PHPbb3 for example) so that when i update the menu in wordpress it updates across the site without me having to edit it on every non wordpress page/installation.

    wordpress and phpbb3 share the same database and are hosted together on the same domain. my ultimate goal is to make both installations look seemless to the end user so i'm just wondering is there some kind of code i can paste into the header of my phpbb pages that will call the items and links of a custom wordpress menu?

    thanks in advance for any help you can give.

  2. You might be able to include some sort of iframe which would call a wordPress file, but I'm not even sure that will work.

    Why don't you just set all of your site in WordPress instead? That would be the easiest way to do it.

  3. curtismchale
    Member
    Posted 1 year ago #

    The only other way is to load blog-header.php which would load all of WordPress on top of the site. Then you could call the menu the normal way within WordPress.

    Look at older articles to make bbPress and WordPress work together, from before bbPress was a plugin. That is essentially what you want to do.

Topic Closed

This topic has been closed to new replies.

About this Topic