WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there way that I can echo out my wordpress menu items to a main site menu. The wordpress install runs in a subfolder of my main site.

I thought there might be a way to do this that is similar to referencing wp-load as a include outside of wordpress


share|improve this question
Have you seen this answer? You can fetch and embed the result without an iframe. – toscho Jul 22 '13 at 12:32

Maybe you are referring to something like this:

define( 'WP_USE_THEMES', false );
require_once( '/absolute/path/to/wp-blog-header.php' );
wp_nav_menu( $args ); 

but the current menu item highlighting will not work as expected.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.