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 | |
/** ====================================================================================== | |
* | |
* Admin Bar Bottom | |
* | |
* if you use the admin bar at the bottom on | |
* the backend add: html.wp-toolbar {padding-top:0px} to the CSS | |
* |
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 | |
/** ==================================================================================== | |
* Return single product template page based on category slug | |
==================================================================================== **/ | |
/** ========== Instructions ======================================================== |
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 above. Put this in your functions.php file. | |
/** ====================================================================================== | |
* | |
* Paginate Comments | |
* | |
======================================================================================= */ | |
function yourprefix_paginate_comments() { |
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 | |
/** ====================================================================================== | |
* | |
* Read More the_content_more_link | |
* Check for the default <!--more--> and change it | |
* but leave custom <!--more Custom Text--> alone | |
* | |
======================================================================================= */ |
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 | |
/** ==================================================================================== | |
* Break more link outside the paragraph in the loop on all archives (home, archives, search, etc) | |
==================================================================================== **/ | |
function yourprefix_excerpt_more_link() { |
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
//* Goes in functions.php | |
/** | |
* | |
* Add Front End Dashicon Support | |
* | |
*/ | |
function yourprefix_add_front_end_dashicons() { | |
wp_enqueue_style( 'dashicons' ); | |