how to add fa fa icons customize menu using wp_nav_menu function?

wp_nav_menu( array(
    'theme_location' => 'primary',
    'menu_id'        => 'footer-menu',
    'menu_class'     => 'quick-link',

There might be a better way to do this, but I would use jQuery to target the menu items and .addClass(). So, something like:

$( document ).ready(function() {
  $(“.menu-item-one”).addClass(“fa fa-icon”);

There is an option to add your CSS classes to menu.(Here is screenshot)

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.