Viewing 2 posts - 1 through 2 (of 2 total)
-
nitipathParticipant
need help
almost like https://www.onedesigns.com/support/topic/custom-menu-in-custom-sidebar-widgetthis code in my website
<aside id="nav_menu-2" class="widget widget_nav_menu"> <div class=" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"menu-testmenu-container" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"><ul id=" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"menu-testmenu" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement" class=" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"menu" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"> <li id=" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"menu-item-1849" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement" class=" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1849" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"> <a href=" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"http://new.one-stophr.com/category/download/%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b8%9f%e0%b8%ad%e0%b8%a3%e0%b9%8c%e0%b8%a1%e0%b8%a0%e0%b8%b2%e0%b8%a9%e0%b8%b2%e0%b8%ad%e0%b8%b1%e0%b8%87%e0%b8%81%e0%b8%a4%e0%b8%a9/compensation-evaluation/" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement" itemprop=" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement"url" role="navigation" itemscope itemtype="http://schema.org/SiteNavigationElement">Compensation & Evaluation</a>
I tried
add_action( 'after_setup_theme', 'enlightenment_child_setup', 50 ); function enlightenment_child_setup() { remove_theme_support( 'enlightenment-schema-markup' ); }
nothing happen
thank you.
Daniel TaraKeymasterTry this code instead:
add_action( 'after_setup_theme', 'enlightenment_child_setup', 50 ); function enlightenment_child_setup() { remove_filter( 'wp_nav_menu', 'enlightenment_nav_menu_container_extra_atts', 10, 2 ); }
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.