Unable to require wp-blog-header
-
I am trying to access wp_nav_menu so that I can use the main menu set up in wordpress in my shopping cart software. (Interspire if it matters)
I understand that using require(‘/wp-blog-header.php’) should give me access to the wordpress functions. However as soon as I add this line to the page code I get an error that page cannot be found.
WordPress is installed to the root and the cart software is installed to https://www.com/shop/
When i add this line, (again if it makes any difference it is to: /shop/includes/display/PagesMenu.php), I get the page cannot be found error as it is trying to load https://www.com/shop/wp-admin/install.php
I have searched high and low for two days and I cannot find anyone else with the problem.
Any ideas?
Thanks in advance.
- The topic ‘Unable to require wp-blog-header’ is closed to new replies.