WordPress walker add class to Sub Menu a href

There are special filters for adding classes to the ul, li, or a tags in a menu. For the a tags you want to use nav_menu_link_attributes. This allows you to modify all attributes on the a tag, so here’s an example: function my_nav_menu_link_attributes( $atts, $item, $args ) { if ( ‘main’ === $args->theme_location ) { … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)