How to change category of a post automatically in WordPress?

Let’s learn how to change category of a post automatically in WordPress. The most accurate or helpful solution is served by Stack Overflow.

There are ten answers to this question.

Best solution

Change category of wordpress post when date is today

So I am using the plugin 'the future is now' on a wordpress site, the site is for event news, once an event has happened i need it to move into from the 'events' category to the 'results'. The plugin 'the future is now' takes care of displaying future posts but I cannot find anything online as to how to change the post category when the date is 1 day past. For example an event on the 11/04/2014 should change categories at 00:01 12/04/2014.

Answer:

You will need a couple things in order to change the category using PHP <?php $date = the_date()...

Read more

Chris Naylor at Stack Overflow Mark as irrelevant Undo

Other solutions

How can I link to the first post of each category in a dynamically created category list in wordpress?

In a Wordpress-powered site, how can I create a list of categories that link to the first post in that category rather than the category archive? I'm using wordpress as a cms for a portfolio site and I'd like to create a dynamic list of categories with...

Answer:

Finally got something working. I had to do the runaround with wp_list_categories because I'm using a...

Read more

msbrauer at Ask.Metafilter.Com Mark as irrelevant Undo

How to change over 2000 WordPress Posts to new category?

So, WordPress problem here: 1) I have imported 2000 some posts to a new WordPress blog. 2) The last people weren't that bright, and have about 95 categories with loads of duplicate categories. How can I change ALL the posts to a new category called ...

Answer:

I think the only way you can do this is to do it thru the database itself. You would have to first export...

Read more

Andrew at Yahoo! Answers Mark as irrelevant Undo

WORDPRESS Question: Is there an option to change who is the post by? -- 10 points?

WORDPRESS Question: Is there an option to change who is the post by? -- 10 points? For example, I would like to change the author of the posts such that when I post a new article, it can be by Elizabeth or by Adam or by Obama or someone (etc.). I do...

Answer:

By default, the post will be authored by whatever user is logged in at the time.

Read more

Lily at Yahoo! Answers Mark as irrelevant Undo

How can one display the Dynamic Post category in a portfolio page of a WordPress website?

The post should display with title discription and featured image. <div class="wrapper about-bg"  style="margin-top:-3px">     <div class="main">Sortable Portfolio Four Columns       <div class="...

Answer:

I think that Quora is not the place to ask for help with your markup or code. Try stack exchange.

Read more

Keith Groben at Quora Mark as irrelevant Undo

WORDPRESS Question: Is there an option to change who is the post by? -- 10 points?

For example, I would like to change the author of the posts such that when I post a new article, it can be by Elizabeth or by Adam or by Obama or someone (etc.). I do not want to register an account and blog for each person.. but rather than just changing...

Answer:

You can do it post by post. There's a drop down list on each individual post page that lets you switch...

Read more

Lily at Yahoo! Answers Mark as irrelevant Undo

How do I change category structure in Wordpress without killing my webrankings?

I have built up a terribly unorganised category structure on joakimnilsson.com and want to fix that. If I just delete all categories and add new ones which I then assign posts to, will I lose my index on google?

Answer:

Yes, this will hurt your standing with search engines unless you tell search engines where the old pages...

Read more

Dave Hagler at Quora Mark as irrelevant Undo

What is the best WordPress plugin to stop robots which use a script to write comments as if they were human?

These robots seem to exist for the sole purpose of getting a commercial entered by user name and/or website address.  Some idiot fed the following script to a buggy program, which didn't randomly select between the alternatives, but included them all...

Answer:

Install Akismet plugin which will help you prevent spam

Read more

Shahzeb Qureshi at Quora Mark as irrelevant Undo

I just moved from Movable Type to a category-based Wordpress site and am now having redirect issues. Help me push my users to the right place!

I just moved from Movable Type to a category-based Wordpress site and am now having redirect issues. Help me push my users to the right place! I recently moved my site from Movable Type to a category-based Wordpress site (This is work related so I won...

Answer:

I've used this Redirection plugin successfully.

Read more

radiocontrolled at Ask.Metafilter.Com Mark as irrelevant Undo

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.