Archives: Code Snippets

How to Customize the Genesis Content Limit Read More Text

How to Customize the Genesis Content Limit Read More Text

// Customize the Genesis content limit read more link add_filter( ‘get_the_content_more_link’, ‘sp_read_more_link’ ); function sp_read_more_link() { return ‘<p class=”more-link”>Continue reading » <a href=”‘ . get_permalink()

How to Remove Post Info on Genesis Theme

How to Remove Post Info on Genesis Theme

// Remove Post Info From Blog Posts Page add_filter( ‘genesis_post_info’, ‘remove_post_info_home_page’ ); function remove_post_info_home_page($post_info) { if ( is_home() ) { $post_info = ”; return $post_info;

How to Remove Genesis Post Meta From Blog Posts Page

How to Remove Genesis Post Meta From Blog Posts Page

// Remove Post Meta From Blog Posts Page add_filter( ‘genesis_post_meta’, ‘remove_post_meta_home_page’ ); function remove_post_meta_home_page($post_meta) { if ( is_home() ) { $post_meta = ”; return $post_meta;

How to Remove Genesis TitleLogo Metabox from Theme Options

How to Remove Genesis Title/Logo Metabox from Theme Options

/* Remove title/logo metabox from Genesis theme options page * See http://www.billerickson.net/code/remove-metaboxes-from-genesis-theme-settings/ * Updated to use $_genesis_admin_settings instead of legacy variable in Bill’s example. */

Want to speed up WordPress site?