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
@media (max-width:600px) { | |
.hide-sm { | |
display:none; | |
} | |
} |
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
(function(document, $, undefined) { | |
'use strict'; | |
$(document).ready(function() { | |
//* -------- smooth scroll to anchor links on click and load ---------------------------------------------------- |
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 | |
//don't include this | |
function author_posts_per_page( $query ) { | |
if (!is_admin() && is_author() ) | |
$query->set( 'posts_per_page', 5 ); | |
} |
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 | |
// don't use this | |
// this goes in your functions.php file in your child theme. | |
/** ==================================================================================== | |
* wp_dequeue_style for plugins |
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
/* TweetThis CSS | Plugin Name: Tweet This | Author: John Morris */ | |
.TT_wrapper { | |
border-top: 1px solid #ddd; | |
border-bottom: 1px solid #ddd; | |
margin: 10px 0; | |
padding: 10px 10px 0 10px; | |
text-align: center; | |
} |
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 | |
//don't include this | |
/** ==================================================================================== | |
* Force read more link to all excerpts whether or not it meets the word length criteria | |
* and whether or not it is a custom excerpt | |
==================================================================================== **/ | |
function excerpt_more_link_all_the_time() { |
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 | |
// don't include | |
/** ==================================================================================== | |
* get posts for sitemap | |
* https://codex.wordpress.org/Template_Tags/get_posts | |
==================================================================================== **/ | |
function christina_get_posts_for_sitemap() { |
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 | |
// don't include | |
/** ==================================================================================== | |
* SITE MAP : archive page filter for genesis_sitemap_output(); | |
* using christina_get_posts_for_sitemap(); | |
==================================================================================== **/ | |
function christina_sitemap($sitemap_post_list) { |
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 | |
/* | |
Plugin name: Random Text | |
Plugin URI: http://www.pantsonhead.com/wordpress/randomtext/ |