Homepage Menu Link Won’t Function

This function in /themes/lucid-press-child/js/custom-js.js is your problem. function homepageNavigationClasses(){ if(jQuery(‘body.home’).length){ //jQuery(‘#navigation a’).not(‘.sub-menu a’).click(function(event){ jQuery(‘#navigation a’).click(function(event){ var clickedLink = jQuery(this).text(); clickedLink = clickedLink.replace(/\s/g,”); if(!jQuery(this).parent().hasClass(‘page’)){ event.preventDefault(); //console.log(clickedLink); jQuery(‘html, body’).animate({ scrollTop: jQuery(“#”+clickedLink).offset().top – 400 }, 500); jQuery(‘#navigation li’).removeClass(‘active-hp-section’); jQuery(this).parent().addClass(‘active-hp-section’); } }); } } It’s looking for a ID to scroll the page too but it doesn’t have one … Read more

Assign a different menu depending on custom taxonomy

I think the way to do this is: Set up your menu in Appearance > Menus as you mentioned; In your theme’s header.php (or wherever you find the wp_nav_menu() code that displays your current menu), set up a WordPress conditional to check if the page being visited is a location taxonomy archive, and display different … Read more

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