Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Rich Owings on "Changing the modified time but moving to most recent position"

$
0
0

Hi all,

I need to update posts on my site to a new category once the status has changed, say from coming soon to now playing. When this happens I want the post to move to the top of the blog, showing as the most recent post.

There are a few different ways to do this, but they each seem to be presenting problems:

1. I have added code in functions.php to show the modified date if a post has been updated. But it doesn’t move it to the top of the blog as the most recent post. To do this I still have to change the publish date. A sticky post plugin won’t help because it should move down one place once the next post goes up.

Note that if I change the publish date it changes the month/date in the URL.

2. I can change to a different permalink structure but when I change the date I’ll be confusing Google with a modified publication date for the same post.

3. I could create a new post and 301 redirect the old one to it, but then I end up with a bunch of 301’s.

Any ideas?


Viewing all articles
Browse latest Browse all 8245

Trending Articles