Question
I have a primary menu and code is <nav id="site-navigation" class="main-navigation float-right"> <?php wp_nav_menu( array( 'theme_location' => 'menu-1','menu_id'=> 'primary-menu') );?> </nav> Now I am using the same menu for my left sidebar <nav id="left-side-menu" class="main-navigation"> <?php wp_nav_menu( array( 'theme_location' ...
0
, , , 5 months 0 Answers 49 views

Question
I am using wp_video_shortcode_override in my plugin to override default wordpress video and it works well in frontend. My question is is it possible to make this work in post editor backend? add_filter('wp_video_shortcode_override', 'foo_video_shortcode_override', 10, 2); function foo_video_shortcode_override( $html, $attr ) { ...
0
, , , 5 months 0 Answers 71 views