How to change navwalker’s dropdown mark-up?
STEP 1 add a script to header like below ( it’s always better go for the enqueue method . i need some one to help me with properly adding the below script in WordPress way .jquery should run before the second script> <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js” type=”text/javascript”></script> <script> $(document).ready(function () { $(‘.dropdown-menu a.dropdown-toggle’).on(‘click’, function(e) { if (!$(this).next().hasClass(‘show’)) … Read more