Last active
March 25, 2019 10:06
-
-
Save kadai/d65d69aa51c23a6aff0a59e2884201fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_enqueue_scripts', 'dtorrer_agregar_estilos_al_tema' ); | |
function dtorrer_agregar_estilos_al_tema() { | |
wp_enqueue_style( 'estilos-temapadre', get_template_directory_uri() . '/style.css' ); | |
wp_enqueue_style( 'estilos-temahijo', get_stylesheet_directory_uri() . '/style.css',array( 'estilos-temapadre' ) ); | |
} | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Theme Name: Nombre Tema Hijo | |
Theme URI: https://dtorrer.com/url-creador-tema | |
Description: La Descripción de nuestro tema hijo | |
Author: Juan Perengano | |
Author URI: https://dtorrer.com | |
Template: tema-padre | |
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 | |
Text Domain: nombre-tema-hijo | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment