Wordpress help

Messages
162
Name
Tim
Edit My Images
Yes
I know there a few wordpress users on here so I will ask here as I am having problems registering for the wordpress forum.

I have imported some blogs from blogger.com to my new wordpress site. Problem is when I used blogger I used the html function <font="verdana"> at the start of each blog to get the blog into a font I liked. Problem is now every one of the imported blogs is displaying in the wrong font as it has the following line at the start

<span style="font-family: verdana;">

and a

</span>

At the end

Short of going into each blog and deleting it is there an easy way to remove the span coding from all posts in one go??

Tim
 
Short answer, no. Longer answer, you could export the database and do a search and replace on those two strings to remove them and then reimport the database. Importing from one platform to another rarely goes perfectly, unfortunately there are always little tweaks that you need to make. Unfortunately yours is an annoying one.
 
Cheers Kayjay, exporting and importing SQL database or manual deletes :thinking: I think I will take the delete option please...............

I have also resolved my Wordpress forum problem, it would not accept my user name as I had already register with it :bonk::bonk:

Tim
 
You could also use an SQL statement, something like :

UPDATE wp_post set designation=replace(designation, 'font-family: verdana;', ' ')
(Thats a paraphrased SQL statement of course, but you get the jist....my knowledge of sql is very skwiffy :p)

OR

You could just install this WP plugin ;)

http://wordpress.org/extend/plugins/search-and-replace/
 
Nice one Marcel, while I was reading this I was thinking "I bet someone already has a plugin for that!"
 
WOOHOO!!! cheers Marcel, thats what I like a positive start to the days. That little plugin worked a treat, thanks.

Tim
 
Back
Top