Este plugin no se ha actualizado en más de 2 años. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

One-Click Child Theme

Descripción

Por favor, visita la página del plugin.

Useful for shared hosts, this allows you to easily create child themes from any
theme just by clicking.

Ever since WordPress 3.0, you shouldn’t directly modify CSS of any downloaded
themes because if you update the theme, your changes will be destroyed. Instead, it is recommended that you create a child theme and edit the CSS
there so that updates to the parent theme will be inherited instead of destroy
your changes.

The problem many run into is currently the only way to child theme something
is edit files on the filesystem. This is non-intuitive for shared-hosting
sites with one-click WordPress installs (it usually involves a “shell account”
or learning how to use FTP).

This attempts to get around that issue, by adding a button to the themes page
to allow you to child theme the page. (It’s not really one-click, though.)

Inspired by @janeforshort’s and @designsimply’s WordCamp SF 2011 talk on CSS
theming as requested by @sfgirl for her blog.

Capturas

  • Para usar el plugin haz clic en uno de estos dos sitios en la sección Apariencia de tu wp_admin
  • Rellena este formulario
  • Verás que se crea un tema hijo del tema, y funcionando correctamente con el tema padre.

Instalación

Instalando el plugin

Extract all files from the ZIP file, making sure to keep the file structure
intact, and then upload it to /wp-content/plugins/. Then just visit your
admin area and activate the plugin. That’s it!

Ver también: Artículo “Instalando plugins” del Codex de WP

Usando el plugin

If you have the capability to install themes in your admin, then the themes menu
will have a new submenu called “Child Theme”. Clicking on this gives you a form
that will allow you to create a child theme based on the current active theme.

Preguntas frecuentes

¿Ya he modificado el CSS en el tema actual? ¿Cómo uso Tema hijo a un clic para solucionar esto?

Puedes esperar a que el tema se actualiza y se destroce o puedes:

  1. Sigue los pasos para instalar y activar un plugin de arriba para crear un tema hijo
  2. Haz clic en Apariencia > Editor de tu escritorio de administración (o administración de la red si estás en multisitio).
  3. Elige el tema padre en el desplegable de la derecha, haz clic en Seleccionar y asegúrate de que estás modificando el archivo style.css (seleccionado a la derecha).
  4. Guarda una copia de los cambios que hayas hecho, si es que quieres recordarlos.
  5. Elige el tema hijo que has creado en el desplegable de la izquierda (deberías estar modificando el archivo style.css).
  6. Pega tus cambios al final del archivo.
¡Tu plugin ha roto mi sitio!

No creo que eso sea posible pero y si así fuera ¡quiero arreglarlo!

First, check what really happened. Is your admin console broken, is the
theme broken (go to a new window and check your blog). If a theme fails to
work and for some reason I didn’t catch that error, WordPress should restore
the previous theme (or whatever the default theme is) so your actual blog
should be okay and recoverable. If for some reason it didn’t default to the
right theme, go into the Appearance menu and re-enable the parent theme.

Then go to the support page,
describe what happened (screenshots help too) and anything else and we’ll try
our best to help you.

No puedo encontrar ese botón de ajustes del tema al que te refieres en la documentación

I really need to update the screenshot. It’s still there, but the location has
changed as WordPress has been upgraded.

  1. Ve a la pestaña Apariencia
  2. Haz clic en el tema activo (deberían mostrarse los “Detalles del tema” al pasar el ratón)
  3. Aparecerá un texto emergente. Ahí está el botón de ajuste del “Tema hijo”
Cuando voy al menú del tema hijo dice “X ya es un tema hijo” y no puedo crear un tema hijo.

Making grandchildren of themes is non-trivial, so I disabled the form if it is
already a child theme. Instead I offer the ability to repair the Child theme or
copy template files from the parent into the child for editing.

¿Puede borrarse el plugin después de crear un tema hijo con él?

Yes. The main purpose of the plugin is fulfilled. Congratulations!
(Personally, I’d disable it, instead of delete it.)

Having said that, there are some things that this plugin help with after your
child theme’s birth. Think of it as a parenting guide for your new child theme.

¿Características como?
  • Repara un tema hijo creado al estilo antiguo.
  • Copia las plantillas de tu tema padre en tu tema hijo.
  • Reemplaza la captura de pantalla del tema hijo con la de tu sitio

When you have an active child theme, click on Appearance > Child Theme to
get to these functions.

¿Qué hace el botón “Reparar tema hijo”?

WordPress changed the recommended way of handling parent references in child themes.
If this plugin detects your child theme was done in the old style, it shows
this button. Clicking on it will make the plugin attempt a repair into the
new style.

¿Por qué el servicio de captura de pantalla solo muestra un enorme 404?

The most likely scenario is your WordPress site_url isn’t publicly
accessible from the web.

¿Que es el código de depuración/error al crear un tema hijo?

Tienes una versión antigua de este plugin, por favor, actualiza a la última versión.

I wrote this plugin back during a talk at WordCamp SF 2011 about CSS
Themeing in order to help the person sitting next to me. I just didn’t get to
some things… for years. Sorry about that! The debugging code didn’t affect any
behavior — it was a sign of me being lazy and not realizing that the plugin
would have tens of thousands of avid users!

El servicio de captura de pantalla del tema parece no funcionar.

First of all, is the blog accessible from the public Internet? If not, then
that is the problem.

But sometimes, even then, mshots seems a bit on the slow side. The plugin
uses WordPress.com’s mShots service. You know, I worked at Automattic for years
on WordPress.com and I still haven’t quite figured out mShots. Eventually
I’ve gotten the animated loading GIF to be replaced by a real retina-ready JPEG
screenshot of my blog homepage. Trust me, when it works, it works great! But
the experience may be a little like trying to get a vending machine to accept
a crumpled dollar bill — Americans know what I mean. Suffice it to say that
you might have to hit reload a couple times, or just fiddle around a bit.

¿Por qué debería usar tu plugin y no [_pon aquí la competencia_](https://wordpress.org/plugins/search.php?q=child+theme)?

What? People have forked my idea because I left Automattic
for Wikimedia three years ago?
This means war! Other plugins, you’re going down! Steel yourself for the
pent-up aggression of a pointy-haired boss being kept away from a
programming console for years.

As to why this plugin is the best? OCCT is Coke Classic to every other plugin’s
New Coke. Experience the original
plugin taste your parents knew and loved! Plus, I have
four-year old screenshots on my theme page, a way cooler plugin icon, and a
baby picture of me and my brother on the banner. Also, this plugin strikes
the right balance of features, is free (no “pro” version and not even a PayPal
link), and (now that I’ve figured out how to admin the plugin page), I’ve
been adding volunteers to support it. Even if I sucked into the vortex of
middle management again (isn’t going to happen, that s–t is EVIL) this
plugin will live forever in the hearts and minds of bloggers everywhere!

Which reminds me, if you want to help out, we’re cool with that. Like WordPress
itself, this is a volunteer endeavor. Contact us in the support pages and we’ll
hook you up!

Reseñas

Needed a fast simple Child Generator and got just that.

I wanted a Child Theme generator that was dead simple and without any extras. Creates the bare necessities and that is it. It allows you to name the child theme as well. If you are seeking more features than this then go elsewhere. Love it for what it is. Thanks!

Perfect

As stated, one click and your child theme is created. I love this plugin.

Leer todas las 75 reseñas

Colaboradores y desarrolladores

“One-Click Child Theme” es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

“One-Click Child Theme” ha sido traducido a 3 idiomas. Gracias a los traductores por sus colaboraciones.

Traduce “One-Click Child Theme” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN , o suscríbete al log de desarrollo por RSS .

Registro de cambios

Version 1.7

  • Documentation: FAQ fixes

Version 1.6

  • Feature: Added ability to generate theme screenshots (thanks @janeforshort/@jenmylo for the idea)
  • Feature: Redirect to theme page on child theme creation
  • Feature: Successful child theme creation suggests you edit its style.css file
  • Performance: Only run code in admin page
  • Bug: Added in some missing gettext
  • Bug: Removed the double errors/updates being displays
  • Documentation: Make sure description is under 140 characters
  • Documentation: Screenshots now display
  • Documentation: Added banner image and plugin icon
  • Documentation: Other minor tweaks including updated FAQ and license

Version 1.5

  • Feature: Added ability to repair child theme
  • Feature: Added ability to copy any template file from parent theme (thanks Michael Rawlings for the idea)
  • Design: Upgrade look of form to resemble most admin forms.
  • Bug Fix: Properly shows a status message on success.
  • Documentation: Added section for FAQ and Screenshots.
  • Documentation: Some housecleaning of filesystem structure of plugin

Version 1.4

Version 1.2

  • Bug Fix: Remembers to network enable (activate) the theme after creation.
  • Feature: Added screenshot support (Thanks! Chris Robinson http://contempographicdesign.com/)
  • Bug Fix: WP_Error handling
  • Documentation: Refactored codebase

Version 1.1

  • Feature: Added RTL support

Version 1.0.1

  • Commenting changes.

Version 1.0

  • Version inicial