Title: Problem with theme preview
Last modified: August 19, 2016

---

# Problem with theme preview

 *  [ETERNAL](https://wordpress.org/support/users/eternal/)
 * (@eternal)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/)
 * For some reason, I can’t seem to preview themes from my dashboard. I click on
   the theme, but the only option that appears is “activate” – there’s nothing popping
   up to show a preview. The only theme that has a preview is the one that I’m currently
   using. I also have a theme preview plugin, but when I type the supposed URL for
   the preview, nothing shows up. Any ideas?

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [layofflist](https://wordpress.org/support/users/layofflist/)
 * (@layofflist)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962672)
 * I can’t preview certain themes like amazing-grace and blue-grace, while others
   are distorted with different background and font colors.
 *  [raygene](https://wordpress.org/support/users/raygene/)
 * (@raygene)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962676)
 * I have the same problem as Layofflist, I wonder why support isn’t answering these
   inquiries. Also, this problem started after I updated to 2.7.1.
 *  [vseanclark](https://wordpress.org/support/users/vseanclark/)
 * (@vseanclark)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962683)
 * I have this problem as well. Started after 2.7.1
 *  [tvsjohnhansen](https://wordpress.org/support/users/tvsjohnhansen/)
 * (@tvsjohnhansen)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962686)
 * Ditto. Same problem. JUST installed 2.7 and could see theme previews. Installed
   2.7.1 about a half hour later and BAM! No preview!
 *  [tvsjohnhansen](https://wordpress.org/support/users/tvsjohnhansen/)
 * (@tvsjohnhansen)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962688)
 * Found this in another thread:
    [http://wordpress.org/support/topic/243553](http://wordpress.org/support/topic/243553)
 *  [chadparry](https://wordpress.org/support/users/chadparry/)
 * (@chadparry)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962689)
 * The bug is in the file `wp-includes/theme.php`. There are two places in that 
   file where you can find this string:
    `'|[^a-z0-9_.-/]|i'` To fix this problem,
   change both of them to: `'|[^a-z0-9_./-]|i'` (The only difference is the location
   of the hyphen character).
 *  [fireflyoftheearth](https://wordpress.org/support/users/fireflyoftheearth/)
 * (@fireflyoftheearth)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962690)
 * Thank you chadparry for that fix. It absolutely made it work.
 *  [thorman](https://wordpress.org/support/users/thorman/)
 * (@thorman)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962694)
 * Changed to ‘|[^a-z0-9_./-]|i’ but am stil having the same problem: No previews
   and only the default theme activates correctly. Appreciate any sggestions…
 *  [naweedshams](https://wordpress.org/support/users/naweedshams/)
 * (@naweedshams)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962695)
 * I’ve got the same problems, dont worry though it wont affect the performance 
   of the actual theme when you activate it.
 *  [thorman](https://wordpress.org/support/users/thorman/)
 * (@thorman)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962696)
 * Uploaded a picture to my site, which does’nt show up either. But the comments
   I wrote to it shows. It made me think of my themes: I think the actual problem
   is that the images that go with the thems don’t show. (And yes, the images folders
   are in the right places: /public_html/xxxxx/wp-content/themes/dark-smoke/)
 * I guess the problem with the themes has something to do with showing/uploading
   pictures.
 * Any ideas…?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Problem with theme preview’ is closed to new replies.

## Tags

 * [preview](https://wordpress.org/support/topic-tag/preview/)

 * 10 replies
 * 9 participants
 * Last reply from: [thorman](https://wordpress.org/support/users/thorman/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/problem-with-theme-preview-1/#post-962696)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
