WordPress.org

Forums

Themeswitcher - Unpublished themes (1 post)

  1. mydavisfamily
    Member
    Posted 8 years ago #

    I'm not following here.. What makes a theme unpublished? Is there something you can set/clear? And if I do set something, can I test it without users seeing it?

    I have uploaded 2 themes and they are both active as soon as you upload them.
    I would like to work on a new theme before the users see it, but can't unless I upload it.. Sounds like catch21.

    themeswitcher code follows:
    // Don't let people peek at unpublished themes.
    if (isset($theme['Status']) && $theme['Status'] != 'publish')
    return $template;

    Thanks for any help.

Topic Closed

This topic has been closed to new replies.

About this Topic