View wp-config.php
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', true);
define('DOMAIN_CURRENT_SITE', 'LA URL DE LA TEVA WEB');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);
View wp-config.php
/* Multisite */
define( 'WP_ALLOW_MULTISITE', true );
View style.css
/*
Theme Name: Genesis Sample
Theme URI: http://www.studiopress.com/
Description: This is the sample theme created for the Genesis Framework.
Author: StudioPress
Author URI: http://www.studiopress.com/
Version: 2.3.0
Tags: black, red, white, one-column, two-columns, three-columns, left-sidebar, right-sidebar, responsive-layout, accessibility-ready, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
View functions.php
<?php
/**
* This file adds functions to the Genesis Child Theme
*
* @package Genesis Child Theme
* @author  Jordi Garcia Codina
* @license GPL-2.0+
* @link    https:/jordi.info
**/
View fixed-header.css
.site-header {
position: fixed;
top: 0;
width: 100%;
z-index: 999;
}
.nav-primary {
margin-top: 125px;
}
View fixed-header.css
.site-header {
position: fixed;
width: 100%;
z-index: 999;
}
.nav-primary {
margin-top: 125px;
}
View genesis-enqueue-material-icons.php
//* Enqueue Material Icons
add_action( 'wp_enqueue_scripts', 'jgc_enqueue_material_icons' );
function jgc_enqueue_material_icons() {
wp_enqueue_style( 'material-icons', '//fonts.googleapis.com/icon?family=Material+Icons', array(), CHILD_THEME_VERSION );
}
View Instal·lar Glyphicons a WordPress
// Enqueue Glyphicons
add_action( 'wp_enqueue_scripts', 'jgc_enqueue_glyphicons' );
function jgc_enqueue_glyphicons() {
wp_enqueue_style( 'bootstrap_css', 'https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css' );
wp_enqueue_style( 'main_css', get_stylesheet_directory_uri() . '/style.css' );;
}
View Instal·lar Font Awesome a WordPress
Enqueue Font Awesome
add_action( 'wp_enqueue_scripts', 'jgc_enqueue_font_awesome' );
function jgc_enqueue_font_awesome() {
wp_enqueue_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css' );
}
View Genesis Enqueue Ionicons
//* Enqueue Ionicons
add_action( 'wp_enqueue_scripts', 'jgc_enqueue_ionicons' );
function jgc_enqueue_ionicons() {
wp_enqueue_style( 'ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION );
}