WordPress.org

Forums

Problem with theme preview (11 posts)

  1. ETERNAL
    Member
    Posted 6 years ago #

    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?

  2. layofflist
    Member
    Posted 6 years ago #

    I can't preview certain themes like amazing-grace and blue-grace, while others are distorted with different background and font colors.

  3. raygene
    Member
    Posted 6 years ago #

    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.

  4. vseanclark
    Member
    Posted 6 years ago #

    I have this problem as well. Started after 2.7.1

  5. TVsJohnHansen
    Member
    Posted 6 years ago #

    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!

  6. TVsJohnHansen
    Member
    Posted 6 years ago #

    Found this in another thread:
    http://wordpress.org/support/topic/243553

  7. chadparry
    Member
    Posted 6 years ago #

    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).

  8. fireflyoftheearth
    Member
    Posted 6 years ago #

    Thank you chadparry for that fix. It absolutely made it work.

  9. thorman
    Member
    Posted 6 years ago #

    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...

  10. naweedshams
    Member
    Posted 6 years ago #

    I've got the same problems, dont worry though it wont affect the performance of the actual theme when you activate it.

  11. thorman
    Member
    Posted 6 years ago #

    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...?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags