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


  • Have you seen this answer? You can fetch and embed the result without an iframe.
    – fuxia
    Jul 22, 2013 at 12:32

1 Answer 1


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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