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
.column { | |
float: left; | |
} | |
.column-wrapper { | |
overflow: hidden; | |
} | |
.column.col-12-12 { | |
width: 100%; | |
} | |
.column.col-11-12 { |
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
get_time_difference( $comment->comment_date ); |
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 | |
/** | |
* The Header for Expatriate. | |
* | |
* Displays all of the <head> section and | |
* everything up till <div id="content"> | |
* | |
* @package expatriate | |
* @author kopepasah | |
* @since 1.0.0 |
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 this action, ignore the opening <?php tag and this comment. | |
add_action( 'expat_enable_minified_styles', '__return_true' ); |
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
/** -----------------------------------------------------:[ structure ]:---------- */ | |
=== some code | |
/** -----------------------------------------------------:[ general ]:---------- */ | |
=== some code | |
/** -----------------------------------------------------:[ header ]:---------- */ | |
=== some code |
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 | |
function filter_jetpack_infinite_scroll_js_settings( $settings ) { | |
$settings['text'] = __( 'Load more...', 'l18n' ); | |
return $settings; | |
} | |
add_filter( 'infinite_scroll_js_settings', 'filter_jetpack_infinite_scroll_js_settings' ); |
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
[\t]+[\n] |
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
git submodule add [email protected]:kopepasah/wp-theme-toolkit-less.git lib/less |
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
Jetpack::get_available_modules(); | |
Array | |
0 => after-the-deadline | |
1 => carousel | |
2 => comments | |
3 => contact-form | |
4 => custom-css | |
5 => enhanced-distribution | |
6 => gplus-authorship |
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 | |
// Enqueuing and Using Custom Javascript/jQuery | |
function custom_load_custom_scripts() { | |
if ( file_exists( get_stylesheet_directory() . '/js/custom_jquery_additions.js' ) ) { | |
$url = get_stylesheet_directory_uri() . '/js/custom_jquery_additions.js'; | |
} else if ( file_exists( get_template_directory() . '/js/custom_jquery_additions.js' ) ) { | |
$url = get_template_directory_uri() . '/js/custom_jquery_additions.js'; | |
} | |