0

I am working with an auto-posting blog where the articles come through RSS Feed. There are lots of posts publishing every day automatically. Now I need to get a category automatically based on a word in the WordPress post title.

For example: I have a category: "New York" and "Florida".

If any post has the word "New York" in the title, then the category "New York" will select automatically during publishing.

Similarly, if any post has the word "Florida" in the title, then the category "Florida" will select automatically during publishing.

How can I do that?

1
  • You need to provide more information. How are these blogs auto-posting? Presumably you are parsing the RSS feed somewhere, somehow, and I'd assume that includes the post title. Maybe show that code.
    – vancoder
    Apr 14 at 22:05

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.