Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Add class to menu anchors

/*:::::::::::::::::::: Adding class to menu anchors ::::::::::::::::::::*/
function add_link_atts($atts) {
   $atts['class'] = "nav-link";
   return $atts;
 }
 add_filter( 'nav_menu_link_attributes', 'add_link_atts');
Comment

PREVIOUS NEXT
Code Example
Php :: Autoriser les contributeurs à télécharger des images 
Php :: php list all files in directory and subdirectories 
Php :: php send to message to mobile number using springedge 
Php :: symfony check:requirements Fatal error: Using $this when not in object context in C:UsersAdmin.symfonycachecheck.php on line 778 exit status 255 
Php :: php preg_match 
Php :: collection methods laravel 
Php :: laravel framework 
Php :: php mailer 
Php :: laravel file permission denied 
Php :: php mysql row to json 
Php :: woocommerce check if shop page 
Php :: laravel jobs tutorial 
Php :: Laravel 9 Route problem return 404 NOT FOUND 
Php :: enable cors cakephp 
Php :: add taxonomy to custom post type 
Php :: xrp to php 
Php :: php artisan migrate error 
Php :: http://www.finalclap.com/faq/81-php-afficher-date-heure-francais 
Java :: how to print hello world in java 
Java :: change java version command line debian 
Java :: how to create a button with javascri[t 
Java :: onclick button in java android 
Java :: java hashmap entryset 
Java :: how to print to console in java 
Java :: equivalent to params keyword in java 
Java :: convert a string to int in java 
Java :: spring annotations xml configuration 
Java :: javafx action event enter key 
Java :: java create list with initial elements 
Java :: bubble sort java 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =