WP code
-
I would like to use WP code to make all my web pages go to a single page on Sundays. I was advised to put this code anywhere on each web page in the code, but it does not work.
if ((new Date()).getDay() == 0) location.replace(‘https://www.23rdpsalmhandyman.com/lords-day/’);
The blog I need help with is: (visible only to logged in users)
-
Hi there, WordPressdotcom has code restrictions in place, so I need to ask if curtissather.wordpress.com is the site you need help with or are you working on a different website?
If you need help with a site using the open source WordPress software, you’ll want to head over to https://wordpress.org/support where they have more experience with the software you are using. If you don’t have a username on the ORG forums you can register one on the top of that page.
Just to clarify, this support forum assists users of the WordPressdotcom platform. WordPressdotcom (where we are ) and WordPress are separate entities with different documentation and support forums. More information about the differences can be found here: https://en.support.wordpress.com/com-vs-org/
- The topic ‘WP code’ is closed to new replies.