0

I just migrated from blogger to wordpress and I have over 1,700 post with this line of css in them

.alignleft { float: left; }

.alignright { float: right; }

Along with some meta which shows up in wordpress post is there a way to mass edit the post and remove or hide this?

closed as off-topic by Howdy_McGee Apr 28 '17 at 20:39

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

2

You can remove them by replacing the line( .alignleft { float: left; } ) with empty space in database ( but you should avoid using SQL query). Make sure you have back up before trying anything.

There is a php script which i used for replacing my loclahost url to live site url while migrating wordpress site from local machine to live server. You can try this script( serach and replace script by interconnectit.com) to find the occurences of css class and replace with them empty space.

This script also provide dry run option so you can review the change before applying them. This script is reputed and used by many developers. you can find reference from tuts-plus here.tuts+

Not the answer you're looking for? Browse other questions tagged or ask your own question.