Theme Preview For WordPress
Posted by: Sean | Posted on: August 18th, 2008 | 7 Comments
Since the wordpress 2.6 upgrade came out, which allowed you to preview your themes before you applied them, i could not get this feature to work. Whenever i clicked to preview a new theme it would just show my site and the theme that was already on my site, this was annoying i wasn’t able to see how the new theme would look on my website. I wanted to be able to preview it so that if it didn’t work properly it would not effect the appearance of the site.
After a while i began searching on the internet to see if this happened to anybody else and it has happened to a few, but there was no answer on how to fix this so that the theme preview section would work.
A few days ago i was editing another site of mine when i wanted to preview loads of different theme’s so the quickest way would be to use the wordpress theme previewer however it would not work so i had to apply each theme which takes longer. So i got bored of continuously applying and reapplying the different themes so i went around the wordpress setting’s trying to find a way to fix the theme preview section.
And success i managed to find out how to fix it, if you go into the general setting’s in wordpress there is two boxes one says: WordPress address (URL) and the other says: Blog address (URL). I found that if you change the two of these website addresses to be the same then the theme previewer would work perfectly, it is strange but i dont know why it wouldn’t work if they are different, but i am just happy i now have that feature working.
Related posts:
Tags: theme preview, theme preview for wordpress not working, theme preview not working, wordpress, wordpress theme preview, wordpress version 2.6







Steeephen -
March 14, 2009
Extremely grateful for this fix – even the wordpress forum didn’t have the answer – I’ve posted your url on there for others to see as it seems to be a common problem.
like you, I am just happy to have the preview working again.
thanks.
Sean -
March 14, 2009
Thanks, Steeephen, glad i could help you out.
Joy -
April 26, 2009
I’ve had this problem ever since they added the preview.
And today I’m on 2.7.1 and it’s giving me a totally white box as the preview. I just checked and my blog URL and WP URL are identical and always have been…but I have my blog in a subdirectory.
It doesn’t make much sense to me.
Pingback: 100th Blog Post! - Leateds.com
AlphaDreams Studios -
June 8, 2009
NO idea why this fixes it but it works… Preview [for theme and post] works for first time ever. Silly.. but I’m very grateful this fixed it!
Gary -
August 22, 2012
Gracias!!!
Sean -
April 26, 2009
Yeah that seems a bit strange now, i have never had that problem. But i have heard that sometimes your plugins can interfere with your site. Maybe one of your plugins is non compatible with the latest version of wordpress.
You could try disabling all your plugins and then re-enable them individually and see if any one breaks it. Then just dont use that plugin anymore. Hopefully this may help you, other than trying this i have no idea.
Leave a Comment