PHP
How to add breadcrumb in wordpress without plugin
First define breadcrumb function in function.php. using following code After that called breadcrumb function.php in header.php
First define breadcrumb function in function.php. using following code After that called breadcrumb function.php in header.php
When we implemented the bootstrap menu in WordPress. you may be frustrated with the built-in menu options. There isn’t an easy way to tell WordPress to swap out the current menu item class with bootstrap’s active class. there is given below hook. this following script write a script in the Read more…
We are going to make WordPress menu int bootstrap menu by walker class. first define class and called walker following code in function.php file After the extending walker class, we will add classes and attribute in anchor tag by “nav_menu_link_attributes” Filter. for a you have to use it as per Read more…