I'm presently managing a website with TWO wordpess installs.
My first install is running from the root domain, www.mysite.com - I'll make reference to this Wordpress install as my "Core Installation"
My second install is running off a sub directory, www.mysite.com/mysubdir - I'll make reference to this Wordpress install as my "Sub Installation"
What i am attempting to accomplish is showing my Wordpress menu from the Core Installation on my small Sub Installation.
I've both wordpress installs running from the same database, with various table prefixes.
The main reason i am wishing to operate my Wordpress Menu from the Core Installation on my small Sub Installation is to ensure that I just update recption menus in a single place and also the changes is going to be reflected on installations.
I've attempted this coding within the following manner without results:
$table_prefix = 'wp_' wordpress_nav_menu( array('menu' => 'Header Menu' )) $table_prefix = 'dir_'
My concept of sony playstation alter the table_prefix the system uses towards the "Core Installation" prefix, output recption menus, then switch it to "Sub Installation"
I really hope this will make sense.... I am really stuck on that one and would appreciate the assistance Greatly.
I have not make use of this when you are attempting to do, however the
$table_prefix is placed like a property of the wordpress-db instance, and also to change it out you call:
$wpdb->set_prefix( $table_prefix, $set_table_names = false );
But, when i stated, I've not examined it for the reasons.