Forum Replies Created
-
AuthorPosts
-
Adrien Sanborn
MemberHey, This is awesome! I was having trouble getting this to work, but all I was missing was adding the '3' to the array in output.php. Thanks Marcy!
I’ve accepted the challenge! I’ll be answering at least 1 unanswered post per week.
December 7, 2015 at 10:28 pm in reply to: (Modern Blogger Pro) Edit Footer in Modern Blogger Pro Theme #173147Adrien Sanborn
MemberThanks for the insight Susan. I recently updated my own footer using the Foodie Pro theme, so I thought Modern Blogger might be a similar case.
On an unrelated note, I've also taken up the challenge.
I’ve accepted the challenge! I’ll be answering at least 1 unanswered post per week.
Adrien Sanborn
MemberI like this. I'll take up the challenge too. Bring it on!
Whoa. Last post 2013!
I’ve accepted the challenge! I’ll be answering at least 1 unanswered post per week.
Adrien Sanborn
MemberGood news? Useful lesson? Are we being spammed?
If not, then the useful lesson must be referring to the column classes "Better Grid Loop". And yes, that's an awesome trick.
On a more relevant note; Should this be posted as a support request? It's more of a technical problem than an optional customization...
Thanks guys.
I’ve accepted the challenge! I’ll be answering at least 1 unanswered post per week.
December 5, 2015 at 8:29 pm in reply to: (Modern Blogger Pro) Edit Footer in Modern Blogger Pro Theme #172853Adrien Sanborn
MemberAre you comfortable with code? If so you can probably find it in the functions.php file and switch out the contents. I don't have the Modern Blogger Pro theme, but if you copy the contents of functions.php I can help you out.
I’ve accepted the challenge! I’ll be answering at least 1 unanswered post per week.
Adrien Sanborn
MemberSorry for the delay folks! Here are all my functions.php additions.
/********* Styles ~ replace w/ custom ***********************/ remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); // Custom.css ~ Register & Enqueue function AMS_custom_styles() { // url for custom CSS file $custom_style_dir = CHILD_URL . '/css/custom.css'; // register & enqueue wp_register_style( 'ams-custom-styles', $custom_style_dir, '', '', 'screen' ); wp_enqueue_style( 'ams-custom-styles', $custom_style_dir, '', '', 'screen' ); } add_action( 'wp_enqueue_scripts', 'AMS_custom_styles' ); /********* Content Output ~ Single Post ***********************/ // Kill Post Meta ~ after title function AMS_kill_single_meta() { if( is_single() ): remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); endif; } add_action( 'genesis_entry_header', 'AMS_kill_single_meta' ); /**************************************************************** Posts Index & Archive Settings ****************************************************************/ /********* Columns *********/ function AMS_archive_columns( $classes ) { global $wp_query; $paged = $wp_query->get( 'paged' ); if( ! is_single() ) { // not single if ( is_archive() ) { // CAT archive pages $classes[] = 'one-third'; // clear rows if( 0 == $wp_query->current_post || 0 == $wp_query->current_post % 3 ): $classes[] = 'first'; endif; } elseif ( $paged ) { // blog pages // not 1st post if( $wp_query->current_post > 0 ): $classes[] = 'one-third'; else: $classes[] = 'top-post'; endif; // clear rows if( 1 == $wp_query->current_post || 0 == ($wp_query->current_post - 1) % 3 ): $classes[] = 'first'; endif; } // paginated or archive } // not single return $classes; } add_filter( 'post_class', 'AMS_archive_columns' ); /********* Title Position *********/ /*** Blog Index Title - kill ***/ function AMS_post_index_title_kill() { global $wp_query; $paged = $wp_query->get( 'paged' ); if ( $paged || is_archive() ): remove_action( 'genesis_entry_header', 'genesis_do_post_title' ); endif; } add_action( 'genesis_entry_header', 'AMS_post_index_title_kill' ); /*** Blog Index Title - replace ***/ function AMS_index_title_before_excerpt() { add_action( 'genesis_entry_content', 'genesis_do_post_title', 8 ); } add_action( 'genesis_entry_content', 'AMS_index_title_before_excerpt' ); /********* Post Meta *********/ /*** header entry meta ***/ function AMS_posts_index_remove_header_meta() { global $wp_query; $paged = $wp_query->get( 'paged' ); if ( $paged || is_archive() ): remove_action( 'genesis_entry_header', 'genesis_post_info', 12 ); remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 ); remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 ); endif; } add_action( 'genesis_entry_header', 'AMS_posts_index_remove_header_meta' ); /*** Footer Entry Meta ***/ function AMS_posts_index_remove_footer_meta() { remove_action( 'genesis_entry_footer', 'genesis_post_meta' ); } add_action( 'genesis_entry_footer', 'AMS_posts_index_remove_footer_meta' );
I’ve accepted the challenge! I’ll be answering at least 1 unanswered post per week.
-
AuthorPosts