ThemeShaper Forums » Power Blog


Getting rid of weird classes from a prev. theme

(4 posts)
  • Started 11 years ago by xxxevilgrinxxx
  • Latest reply from xxxevilgrinxxx


  1. I've recently switched back to the Power Blog (my child theme of) after a brief dalliance with the 2011 theme, and now I've got a few weird classes I need to deal with but I'm not sure the best way to do it.

    Specifically, I need to get rid of the "pull" quotes, and replace alignright/left, with a simple right/left.

    I'm sure there must be a safe way to do it via sql, but man oh man does that notion scare the bejeebers out of me. Any tips? Is there a better (saner) way to do this?

    Thanks :)

    Posted 11 years ago #
  2. not sure i follow you but wouldn't it be 100x easier to just update your CSS to account for the alignleft, alignright classes than to do an SQL query and change your content?

    Posted 11 years ago #
  3. That would probably be a hell of a lot easier :)

    That will be the thing I tackle today...

    Posted 11 years ago #
  4. I used the search feature in phpmyadmin, as well as backing it up by using WP's own search feature to look for instances of the classes in question. It only turned out to be around 15 in total so I simply went in and edited those posts - some of it through phpmyadmin, but most of it I did right through WP. If it was a lot more, it would have been easy enough to add the css, but this worked out well too.

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.