Episode: Episode 79 – Changing Categories (and Tags) in Bulk


The WordPress Photography Podcast Logo
Subscribe
Episode 79 – Changing Categories (and Tags) in Bulk

There was a question in the WordPress for Photographers group on Facebook asking about changing categories for a few hundred posts in bulk.

Is there a way to change the category of 300 posts in a quick way?
Is there a way to change the category of 300 posts in a quick way?

There are multiple ways to do it, but there is one way which is the quickest way, and least strain on your server.

Transcription:

Transcription was done by Temi.com which means it's an AI generated transcript. The transcript may contain spelling, grammar and other errors, and is not a substitute for watching the video.

Welcome to episode 79 my name is Scott Wyden Kivowitz and today I want to answer another question from you, the listeners, the community photographers who are using wordpress in the wordpress for photographers group on Facebook that I personally run. There was a question asked, is there a way to change the category of 300 posts in a quick way? The answer is yes, and what I want to do is show you right now how to go about that. So I created a dummy instance and you can see right here there are a 20 posts that have one carry category called this category and needs to be renamed and I made. And then there's another call of the default category called uncategorized and there's 298 posts with that category. So I'm going to quickly just go back to the post list just to show you real quick how you can change the category.

If you want to see more posts, like 300 posts, you can hit the shot, show screen options and change that to 300 however, if you're on a shared host, if you're on a host that doesn't have their, their PHP ramp up all the way as high as could possibly be, you might find you're having timeouts so it won't actually work when you go to make a bulk change to 300 posts. So in this situation it might be worth going page by page or let's say increasing to 50 maybe a hundred but you go into like 300 at once might wind up causing you some trouble. So with that said, you can select everything on the page of you're on, go to bulk actions, hit edit. You can actually in bulk remove a category it, you can do it if you do one at a time. So you can quick edit and just remove one categories.

If I go like this, now there's a wellness category, but you can't actually remove category one category in bulk from a group of posts. So that's a little tricky. So what you would have to do in this situation is you go to the categories, posts and categories, and you can actually go to, let's say, do you want to rename this one called uncategorized that has 298 posts in it. You can go and click edit for that category and then change it from I from uncategorized or whatever too. I just renamed this posts, change a slug to renamed and then hit update. And now all of them, every single one has a new category. You can see 298 now have a new category, uh, with



The WordPress Photography Podcast
Users who viewed this episode also viewed...

The WordPress Photography Podcast > Episode 27 – Your Future Self Will Thank You w/ Twyla Lapointe

Twyla has been a photographer for nearly a decade, and was involved in the Canada Photo Convention for 2 years, where she offered coaching for photographers on business growth and time management. When Twyla was young, she vowed to never get so busy living that she never really lived, so when she saw her busy lifestyle taking over as her business grew, it was time for a change...

The WordPress Photography Podcast > Episode 24 – Start Slow To Build The Skill w/ Nathan Ellering of CoSchedule

Since joining CoSchedule Nathan immersed himself in growing the startup as a solo marketer with blog posts and social media. Since then, he has helped grow a team that tackles big content marketing challenges. Together, they have improved a strategy that has positioned CoSchedule as a leader in their niche with more than 15,000 users, 100,000 email subscribers, and nearly 1 million monthly page views...

The WordPress Photography Podcast > Episode 15 – Stop Slowing Down Your Site With Huge Images, Or Too Many w/ Mark Allen

Mark Allen heads Flothemes product management and support teams. Working out of Europe, his background is in Finance and Banking, making a transition into the digital work in 2014 after a master in Software Development. Mark's passions include growing small teams, WordPress development and providing customers with first class products and services...
Comments (0)

Login or Sign up to leave a comment.

Log in
Sign up

Be the first to comment.