removing sticky menu and automatically adding year
-
Hello! I do I remove the sticky mobile menu and how do I make the year at the bottom change automatically.
Attachments:
You must be
logged in to view attached files.
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.