Skip to content

Instantly share code, notes, and snippets.

View pepesaura's full-sized avatar

Pepe Segura pepesaura

View GitHub Profile
@pepesaura
pepesaura / WPCartagena_theme.md
Last active December 11, 2017 15:31
WPCartagena, un tema hijo de Twenty Seventeen

WPCartagena, un tema hijo, el padre de todos los gists

Usamos Gist como primer recurso para poder discutir sobre la creación de este tema hijo.

Recursos

  • WordPress - Make WordPress Training - The WordPress training team creates downloadable lesson plans and related materials for instructors to use in live workshop environments.

Enlaces en wpmudev

@pepesaura
pepesaura / functions.php
Created December 11, 2017 11:05 — forked from braginteractive/functions.php
Twenty Seventeen Child WordPress Theme
<?php
function my_theme_enqueue_styles() {
$parent_style = 'twentyseventeen-style'; // This is 'twentyfifteen-style' for the Twenty Fifteen theme.
wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
wp_enqueue_style( 'child-style',
get_stylesheet_directory_uri() . '/style.css',
array( $parent_style ),
wp_get_theme()->get('Version')