• Resolved netzgestaltung

    (@netzgestaltung)


    Hi,

    seems that a nav menu widget in the frontend gets some extra markup:

    <nav id="nav_menu-4" class="widget clearfix widget_nav_menu">
    
      <!-- this line should not exist -->
      <span class='post-state'>Front Page</span><span class='post-state'>Privacy Policy Page</span>
    
    <div class="menu-main-container">
      <ul id="menu-main" class="menu">
        ...

    when i disable the plugin, everything gets good.

    i think it has something to do with the latest WP updates

    i am able to fix the code somewhere – where to send the update to?

    otherwise i have to uninstall the plugin which makes me sad then

Viewing 2 replies - 1 through 2 (of 2 total)
  • This is affecting my menus created in Elementor Pro. I had to deactivate the plugin because I will not have the front end of my website’s appearance be mangled by a back-end appearance plugin. I was going to give them the benefit of the doubt for review purposes, but this appears to be an on going issue that Slate has not addressed.

    Hi,
    To solve it I downloaded the Snippets plugin and added the following css.

    
    add_action( 'wp_head', function () { ?>
    <style>
    
      /* Remove menu slate text */
    .post-state
     {
             display: none;
    }
    	
    </style>
    <?php } );
    

    This is a temporary solution, as long as the author doesn’t update the plugin. I hope it will be useful to someone.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Frontend Nav Menu Filter’ is closed to new replies.