Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

How do I modify the
  • with wp_nav_menu ()

    Home/ html/How do I modify the
  • with wp_nav_menu ()

    How do I modify the
  • with wp_nav_menu ()

    Question

    I try to add an “alt =” attribute to the <a> of the menu in wordpress but I don’t see the form, look in the whole template and I can’t find information other than wp_nav_menu ()

    <?php
                    wp_nav_menu(array(
                        'theme_location' => 'primary',
                        'container' => false,
                        'fallback_cb' => 'orbital_default_menu',
                        'items_wrap' => '<ul>%3$s</ul>', ));
                        ?>
    

    What I can hardly understand is that the <ul>%3$s</ul> variable generates <li> <a> </a> </li>

    Any way to modify the <a> </a> using wp_nav_menu () ??

    0
    html,
    menus, php Plantas y remedios Caseros 3 years 2019-11-30T11:04:50-05:00 2019-11-30T11:04:50-05:00 0 Answers 81 views 0
    • Facebook
    • Twitter
    • Tumblr
    • Pinterest
    • WhatsApp
    • Email
    Share

    Leave an answer

    Browse
    Browse

    Click here to cancel reply.

     Previous question

    Next question 

    • Recent
    • How to Fix the Error

      If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

      May 30, 2021
    • Onitir – IT Solutions WordPress theme

      Onitir - IT Solutions WordPress

      LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

      September 18, 2020
    • WhatsApp Chat – WordPress WhatsApp Chat plugin

      WhatsApp Chat - WordPress WhatsApp

      March 19, 2020
    • Tabula – Art, Music & Language School

      Tabula - Art, Music &

      Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

      March 19, 2020
    • Mega Posts Display for Elementor – Premium WordPress Plugin

      Mega Posts Display for Elementor

      Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

      March 19, 2020
    • Home
    • Ask Question
    • Themes
    • Plugins
    • Tutorials
    • Books

    Recent

    • How to Fix the Error

      If you get an error message “Error Establishing Database Connection,” this means ...

    • Onitir – IT Solutions WordPress theme

      Onitir - IT Solutions WordPress

      LIVE PREVIEWBUY ...

    • WhatsApp Chat – WordPress WhatsApp Chat plugin

      WhatsApp Chat - WordPress WhatsApp

    Popular Questions

    • How to update meta fields

      I have an app written in Delphi and Indy components for Windows ...

    • 404 error - Page not

      ...

    • How to echo the_excerpt without

      In the code snippet below, I trying to get the_excerpt to be ...

    Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.