• Using this code,
    wp_nav_menu( array('theme_location' => 'main', 'container' => false));

    I can return menu, but it also extracts

      and

    Is there any way to exclude

      codes as well?

Viewing 1 replies (of 1 total)
  • Thread Starter Mehmet

    (@mhmtozek)

    Seems my code has been stripped out. Here what I actually wanted to write

    Using this code,
    wp_nav_menu( array(‘theme_location’ => ‘main’, ‘container’ => false));

    I can return menu, but it also extracts
    <ul> and </ul>

    Is there any way to exclude ul before and after menu?

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress Custom Menu’ is closed to new replies.