I'm running a WordPress site which is taking registration for an event and the organizers are postponing the event indefinitely. I need an easy way to get all of the content (about 30 pages and posts) to redirect to a single page.
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.
Then you just need to pass your date to the function.
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog.