This file contains hidden or 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
/* default styling for small screens */ | |
body, header, .main, footer { | |
margin: 0 auto; | |
} | |
/* media queries */ | |
@media screen and ( min-width: 401px ) { | |
footer.widget-area { | |
width: 49%; | |
margin-right: 2%; |
This file contains hidden or 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
/* default styling for desktop */ | |
body, header, .main, footer { | |
width: 96%; | |
max-width: 1200px; | |
margin: 0 auto; | |
} | |
.content { | |
width: 60%; | |
float: left; | |
margin-right: 5%; |
This file contains hidden or 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
define( 'WP_AUTO_UPDATE_CORE', true ); |
This file contains hidden or 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
asfd |
This file contains hidden or 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
function child_function() { | |
// Contents for your function here. | |
} | |
add_action( 'init', 'child_function', 30 ); |
This file contains hidden or 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
function parent_function() { | |
// Contents for your function here. | |
} | |
add_action( 'init', 'parent_function', 20 ); |
This file contains hidden or 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
remove_action( 'init', 'parent_function' ); |
This file contains hidden or 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 | |
if ( ! function_exists ( 'my_function' ) ) { | |
function my_function() { | |
// Contents of your function here. | |
} | |
} | |
?> |
This file contains hidden or 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
include( get_stylesheet_directory() . '/includes/theme_setup.php' ); |
This file contains hidden or 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
/********************************************************************************** | |
wpmu_theme_setup - sets up themes | |
- adds theme support for post formats, post thumbnails, HTML5 and automatic feed links | |
- registers a translation file | |
- registers navigation menus | |
**********************************************************************************/ | |
function wpmu_theme_setup() { | |
/******************************* | |
Start by adding theme support |