De repente recibí un error al codificar - wordpress -> tema: 
No entiendo por qué este es el caso ya que tengo una página index.php. También está la hoja de estilos css. style.css también tiene lo siguiente comentado
estilo.css
Theme Name: samirTheme Author: samir Author URI: www.wordpress.com Version: 1.0 Description: This is a cool theme Template: Test1Aquí está la estructura de carpetas.
Nuevo en wordpress. Tan confundido en cuanto a por qué el tema está roto y no aparece en wordpress. ¿Algunas ideas?
SOLUCIÓN La forma de solución en realidad es muy simple. Descubrí que era realmente difícil encontrar un buen recurso para la respuesta, así que estoy respondiendo aquí.
Faltaba style.css: plantilla: tema en el encabezado comentado, es decir
/* Theme Name: samirTheme Theme URI: http://example.com/twenty-fifteen-child/ Description: Twenty Fifteen Child Theme Author: John Doe Author URI: http://example.com Template: twentyfifteen <-------------------------------------------- Version: 1.0.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: twenty-fifteen-child */Para que WordPress reconozca el conjunto de archivos de plantilla de tema como un tema válido, el archivo style.css debe estar ubicado en el directorio raíz de su tema, no en un subdirectorio.
Entonces, el archivo css del tema principal en la raíz -> luego ponga en cola una segunda hoja de estilo que tenga todos los estilos, si desea que esté en / css /
Ejemplo de encabezado de css:
/* Theme Name: Twenty Seventeen Theme URI: https://wordpress.org/themes/twentyseventeen/ Author: the WordPress team Author URI: https://wordpress.org/ Description: Twenty Seventeen brings your site to life with immersive featured images and subtle animations. With a focus on business sites, it features multiple sections on the front page as well as widgets, navigation and social menus, a logo, and more. Personalize its asymmetrical grid with a custom color scheme and showcase your multimedia content with post formats. Our default theme for 2017 works great in many languages, for any abilities, and on any device. Version: 1.0 License: GNU General Public License v2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: twentyseventeen Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. */Para obtener más información, lea esto:https://developer.wordpress.org/themes/basics/main-stylesheet-style-css/
Me pasó lo mismo. Tengo todos los archivos necesarios (ya que dos archivos solo requieren índice y estilo) una cosa que he notado si tiene una carpeta para su archivo style.css, obtendrá el mensaje de error anterior.
Así que verifiqué e incluso moví y eliminé el archivo de índice de la carpeta principal.
Si elimino el archivo index.php de la carpeta principal y lo coloco dentro de la carpeta css, funciona.
No sé por qué sucedió. Pero me parece que necesita un archivo de índice dentro de la carpeta de estilo o archivos style.css para colocarlos en la carpeta principal.