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_filter( 'genesis_author_box', 'custom_genesis_author_box', 10, 6 ); | |
/** | |
* Callback for Genesis 'genesis_author_box' filter. | |
* | |
* Change the title element from H1 to H3. Move the gravatar to the right. | |
* Make sure to adjust the css for the .author-box .avatar to align: right | |
* | |
* @package Genesis |
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
.author-box .avatar { | |
float: right; | |
} |
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_filter( 'genesis_comment_list_args', 'custom_genesis_comment_list_args' ); | |
/** | |
* Callback for Genesis 'genesis_comment_list_args' filter. | |
* | |
* Override the comment callback and implement custom comment. | |
* | |
* @package Genesis | |
* @category 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 | |
// add the members menu through Genesis menu support | |
add_theme_support( 'genesis-menus', array( | |
'members' => __( 'Members Only Navigation', 'news' ), | |
) ); | |
// remove the default 'genesis_after_header' Genesis action callback | |
remove_action( 'genesis_after_header', 'genesis_do_nav' ); |
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_filter( 'genesis_post_title_output', 'custom_genesis_post_title_output' ); | |
/** | |
* Callback for Genesis 'genesis_post_title_output' filter. | |
* | |
* Remove the title if the post category is 'portfolio'. | |
* | |
* @package Genesis | |
* @category Post Title |
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_filter( 'genesis_post_title_output', 'custom_genesis_post_title_output' ); | |
/** | |
* Callback for Genesis 'genesis_post_title_output' filter. | |
* | |
* Remove the title if on a page | |
* | |
* @package Genesis | |
* @category Post Title |
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_filter( 'widget_title', 'custom_widget_title', 10, 3 ); | |
/** | |
* Callback for WordPress 'widget_title' filter. | |
* | |
* Create a link for the title of the Genesis Featured Widget if a category is | |
* specified. | |
* | |
* @package WordPress |
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_action( 'genesis_before_content_sidebar_wrap', 'single_display_category_title' ); | |
/** | |
* Callback for Genesis 'genesis_before_content_sidebar_wrap' action. | |
* | |
* @package Genesis | |
* @category Post Template | |
* @author Ryan Meier http://www.rfmeier.net | |
* |
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 | |
// create the query | |
$query = array( | |
'f' => 'json', // return json | |
'returnCountOnly' => 'true', // return county only | |
'where' => "OWNERNME1 LIKE '%sm%' OR OWNERNME2 LIKE '%sm%'", // the where clause | |
); | |
// query url - TaxParcel/TaxParcelQuery service - TaxParcelPublishing layer |
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 | |
// create the query | |
$query = array( | |
'f' => 'json', // return json | |
'returnIdsOnly' => 'true', // return id set only | |
'where' => "OWNERNME1 LIKE '%sm%' OR OWNERNME2 LIKE '%sm%'", // the where clause | |
); | |
// query url - TaxParcel/TaxParcelQuery service - TaxParcelPublishing layer |