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 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
<?php | |
/* | |
Plugin name: Random Text | |
Plugin URI: http://www.pantsonhead.com/wordpress/randomtext/ |
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 use | |
// this goes in the child theme functions.php file | |
// See: https://codex.wordpress.org/Function_Reference/wp_register_script | |
// https://developer.wordpress.org/reference/functions/wp_enqueue_script/ | |
function christina_register_enqueue_scripts() { |
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 goes inside the functions.php file in your Genesis child theme. USE FTP and a code editor. | |
/** ==================================================================================== | |
Replace breadcrumb on single attachment post | |
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 goes inside your functions.php file. Check your functions file if a different priority is required. | |
// use FTP and a code editor. Change the prefix_ in the two locations to your theme prefix. Do not use dashes or hyphens. | |
/** ==================================================================================== | |
* Add div and image inside .site-header, before logo just inside the .wrap | |
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
/** ====================================================================================== | |
* | |
* Automatically Exclude Password Protected Pages | |
* | |
* Kudos: https://gist.github.com/bonny/5772054 | |
* The original (linked above) uses an argument: | |
* wp_list_pages('title_li=&post_type=faqs&echo=0&exclude_password_protected=1') | |
* | |
======================================================================================= */ | |
function ca_exclude_password_protected_pages($pages, $r) { |
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 | |
/** | |
* Custom amendments for the theme. | |
* | |
* @package FoodiePro | |
* @subpackage Genesis | |
* @copyright Copyright (c) 2014, Shay Bocks | |
* @license GPL-2.0+ | |
* @link http://www.shaybocks.com/foodie-pro/ | |
* @since 1.0.1 |