Home › Forums › WoodMart support forum › removing sticky menu and automatically adding year › Reply To: removing sticky menu and automatically adding year
November 25, 2023 at 3:33 pm
#515517
Aizaz Imtiaz Awan
Keymaster
Hello,
It’s the “Sticky navigation” that can be disabled via Theme Settings > General > Remove the menu.
To display the dynamic year in footer you can use the below code in function.php :
function year_shortcode() {
$year = date('Y');
return $year;
}
add_shortcode('year', 'year_shortcode');
After placing the above code you have to use this short code “[year]” inside “Copyrights text” area, under theme settings >> Footer.
Screenshot for clarification:
https://jmp.sh/sUKHtFb
Best Regards.