79 | | printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the <a href="%s">Install Themes</a> tab above.' ), admin_url( 'theme-install.php' ) ); |
| 79 | if( file_exists( get_theme_root().'/'.get_option( 'current_theme' ).'/index.php') ){ |
| 80 | printf( __( 'You only have one theme installed right now. Live a little! You can choose from over 1,000 free themes in the WordPress.org Theme Directory at any time: just click on the <a href="%s">Install Themes</a> tab above.' ), admin_url( 'theme-install.php' ) ); |
| 81 | } else { |
| 82 | printf( __( 'Currently there are no themes installed which probably means that your WordPress installation is broken. Please install one to restore functionality. Click on the “<a href="%s">Install Themes</a>” tab and you will be able to browse or search for themes from the <a href="%s" target="_blank">WordPress.org Theme Directory</a>. Themes in the WordPress.org Theme Directory are designed and developed by third parties, and are licensed under the GNU General Public License, version 2, just like WordPress. Oh, and they’re free!' ), admin_url( 'theme-install.php' ), "http://wordpress.org/extend/themes/" ); |
| 83 | } |