Forum Replies Created
-
AuthorPosts
-
May 19, 2015 at 2:33 am in reply to: Altitude Pro – Change ONE Text Widget Background Colour #152708GrahamMember
Try
.solid-section { background-color: #FFA500; }
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberLikewise, I tend not to use the Genesis Responsive Slider for this very reason. I was disappointed in the outcome.
Without the post title, the featured images in the slide usually carry no meaning and the slider becomes a pointless slide show on mobile.
We use LayerSlider at the moment, yet I intend to investigate Soliloquy as an alternative. I see it mentioned a lot.
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberI can't replicate that currently, not seeing the white borders.
As it's a premium theme, it might be worth asking the theme authors / support.
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 19, 2015 at 12:07 am in reply to: Alter title for paginated multi-page posts(add Page 2 etc) #152689GrahamMemberIf you wished, you could remove that filter from wp_title() and add your own as indicated above:
remove_filter('wp_title', 'genesis_default_title', 10, 3); add_filter ('wp_title','child_default_title', 10, 3); function child_default_title( $title, $sep, $seplocation ) { global $wp_query; global $page; if( $page > 1 ) { $title .= ' (Page ' . $page . ')'; } // etc return esc_html( trim( $title ) ); }
Or perhaps (?), disable the Genesis SEO entirely and use something like Yoast SEO which I believe gives the option to no-index subpages and add a %%page%% variable to the template.
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 18, 2015 at 11:44 pm in reply to: Alter title for paginated multi-page posts(add Page 2 etc) #152679GrahamMemberYes, sorry ... my function was only aimed at changing the titles on the page. I missed the part about GWT (Google Webmaster Tools) in your post.
As genesis_default_title() only allows the user to set a custom title on a per-page or per-post basis - and is not further filterable, I feel you would have to remove that filter from wp_title() and then roll your own function.
remove_filter('wp_title', 'genesis_default_title', 10, 3); add_filter('wp_title', 'child_default_title', 10, 3); function child_default_title( $title, $sep, $seplocation ){ // etc }
Seems like a lot of work and begs the question .. if you wish to have separate SEO titles for each section and not rel canonical , then I suspect you would need separate meta descriptions as well.. (otherwise GWT will moan about there being duplicate meta descriptions) - -- so why not post each section as a separate blog post and just link to the other related posts in the content?
I'm happy to be educated here.
No further suggestions, sorry.
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberFor some reason, when the Portfolio custom post type is added in that theme, support for genesis-cpt-archives-settings is not enabled.
In functions.php look for ( line 92 ? )
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'genesis-seo' ),
and replace with
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'genesis-seo', 'genesis-cpt-archives-settings' ),
This adds a new menu item Archive Settings under the Portfolio menu item.
If Genesis SEO is enabled, you should then be able to add a custom document title and meta description for your portfolio archive.
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 18, 2015 at 10:27 pm in reply to: Alter title for paginated multi-page posts(add Page 2 etc) #152660GrahamMemberAh sorry, missed the part about GWT (Google Webmaster Tools) ... that will be to do with rel=canonical
So probably a SEO plugin / settings option ?
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 18, 2015 at 10:21 pm in reply to: Alter title for paginated multi-page posts(add Page 2 etc) #152658GrahamMemberYou would have to add a filter to genesis_post_title_text that checks the value of the $page variable.
e.g.
add_filter ('genesis_post_title_text', 'child_maybe_filter_title' ); function child_maybe_filter_title( $title ) { global $page; if( $page > 1 ) { $title .= ' (Page ' . $page . ')'; } return $title; }
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 18, 2015 at 9:52 pm in reply to: Removing sidebar for Single Blog Posts Categorized as "Testimonials" #152654GrahamMemberOr, conditionally remove sidebar without forcing full width layout. e.g.
add_action( 'get_header', 'child_maybe_remove_sidebar' ); function child_maybe_remove_sidebar() { if ( is_single() && in_category( 'Testimonials' ) ) { remove_action( 'genesis_sidebar', 'ss_do_sidebar' ); remove_action( 'genesis_sidebar', 'genesis_do_sidebar' ); } }
My JustGiving page: https://www.justgiving.com/helping-graham-give
May 18, 2015 at 9:43 pm in reply to: Removing sidebar for Single Blog Posts Categorized as "Testimonials" #152652GrahamMemberPossibly force full width content if single view and in Testimonials category
add_filter( 'genesis_pre_get_option_site_layout', 'child_maybe_full_width_content' ); function child_maybe_full_width_content( $opt ) { if ( is_single() && in_category( 'Testimonials' ) ) { $opt = 'full-width-content'; return $opt; } }
My JustGiving page: https://www.justgiving.com/helping-graham-give
GrahamMemberHi, the correct code to add 3 Genesis footer widgets is
//* Add support for 3-column footer widgets add_theme_support( 'genesis-footer-widgets', 3 );
Tutorial here
http://my.studiopress.com/tutorials/add-footer-widgets/
My JustGiving page: https://www.justgiving.com/helping-graham-give
-
AuthorPosts