as you can see, this website has an intro page https://boblitz.com/enter/, which will be the HOME page when we are done (currently it is still set to the coming soon page). Then when you enter the site it goes to the News page. How to make the logo in the header to reflect _/news INSTEAD of the base URL? We don't want users to always go back to the intro page when they click on the logo.
Any ideas or workaround? PHP? CSS? Plugin? Thank you!
Hi guys,
as you can see, this website has an intro page https://boblitz.com/enter/, which will be the HOME page when we are done (currently it is still set to the coming soon page). Then when you enter the site it goes to the News page. How to make the logo in the header to reflect _/news INSTEAD of the base URL? We don't want users to always go back to the intro page when they click on the logo.
Any ideas or workaround? PHP? CSS? Plugin? Thank you!
Best,
Richard
This DIDN'T work:
PHP in the header with a href in the logo in the child theme
">
">">">">">">
Hi Richard,
Please try this:
Go to wp-admin>theme options>custom css/js
And add this code in the custom JS field (not the custom CSS field):
$(window).load(function () {
$('.classic-menu .logo a').attr('href', '/news');
})
Thanks,
Alexandre from the Sonaar.io Crew
That worked! Thank you!