WordPress.org

Support

Support » How-To and Troubleshooting » How to add "name" attribute to a links in sidebar

How to add "name" attribute to a links in sidebar

  • Hi,

    I need to add “name” attribute to all links in the sidebar.
    For example;

    Before
    <li id="menu-item-573" class="gallery-menu-top menu-item menu-item-type-custom menu-item-object-custom menu-item-573"><a href="#">WEDDINGS</a></li>

    After
    <li id=”menu-item-573″ class=”gallery-menu-top menu-item menu-item-type-custom menu-item-object-custom menu-item-573″>name=”Weddings” href=”#”>WEDDINGS

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to add "name" attribute to a links in sidebar’ is closed to new replies.
Skip to toolbar