WordPress.org

Ready to get started?Download WordPress

Forums

Query to get rid of some code? (4 posts)

  1. Jack
    Member
    Posted 9 years ago #

    What would be the query to delete pieces of code I entered the last few years? I want to clean up my posts and with that my stylesheet, so i.e. I want to delete all the code class="floatright" (including the whitespace) from all posts.

  2. Jack
    Member
    Posted 9 years ago #

    Is it that difficult? :)

  3. NuclearMoose
    Member
    Posted 9 years ago #

    Backup your files first. Then, in a decent text editor, Find class="floatright and Replace with [whatever].

  4. Jack
    Member
    Posted 9 years ago #

    You mean, download the backupfile and thén replace the strings and import database again?

    If so, why didn't I think of this? ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.