I've spent hours trying to figure out how to integrate Wordpress menus into my WP theme using WP API V2: [login to view URL]
I feel like there's some simple code I'm missing. I'd like someone to tell me.
I know menus are registered as a custom post type, but my current function isn't allowing me to access them:
add_action( 'init', 'my_custom_taxonomy_rest_support', 25 );
function my_custom_taxonomy_rest_support() {
global $wp_taxonomies;
//be sure to set this to the name of your taxonomy!
$taxonomy_name = 'nav_menu';
if ( isset( $wp_taxonomies[ $taxonomy_name ] ) ) {
$wp_taxonomies[ $taxonomy_name ]->show_in_rest = true;
$wp_taxonomies[ $taxonomy_name ]->rest_base = $taxonomy_name;
$wp_taxonomies[ $taxonomy_name ]->rest_controller_class = 'WP_REST_Terms_Controller';
}
}
Hi there,
Just wanted to say thank you for the opportunity to work with you on this project.
We hope you’ll keep us in mind for this opportunity.
We are having team of experts who all are having an experience of more than 7 years.
We just love your work and would be thrilled to help you out on any key brand initiatives.
As we have an experience of local market but now we came to know that freelancer is a huge market and we can gain identity from here that's why we have move over here, may be it is the reason for no review in our profile but if you trust then please assign us work and just know the result of it, you will get definate result!
We are glad to answer any questions you may have!
All the best.