Forum Replies Created
-
AuthorPosts
-
darren_cMember
OK, thanks.
This works and adds 'noindex,follow' to any pages after the first homepage
//* Noindex homepage rel=next page/2 etc add_action( 'wp_head', 'add_noindex' ); function add_noindex() { if(is_paged()) { echo '<meta name="robots" content="noindex,follow" />'; } }
It's not ideal, I'd really like these links not to be generated in the first place, but I think noindexing is a better solution than disallowing via robots.txt?
Thanks again
darren_cMemberThanks, I already knew this but I wasn't asking about noindexing archives.
darren_cMemberI'm not, the pages are auto-generated when you follow the link. For example: Agency Pro Demo Site
http://demo.studiopress.com/agency/#69
<link rel="next" href="http://demo.studiopress.com/agency/page/2/" />
generates:
http://demo.studiopress.com/agency/page/2/
which is just a duplicate of the original page. Thankfully page 2 links back to the original otherwise you would have an infinite number of duplicates to contend with.
#69
<link rel="prev" href="http://demo.studiopress.com/agency/" />
darren_cMemberNot when the pages are auto-generated.
darren_cMemberThat could just be caching error. Look at the page in chrome browser and see if padlock is there or not. For the URL posted above it is for me.
September 29, 2016 at 1:55 pm in reply to: Need to revert to Genesis prior to 2.4: download? #193912darren_cMemberBy the way, fixing stuff over mobile isn't much fun, especially when an ill prepated update breaks the site you nred to fix.
Less self congratulation and a bit more testing next time please?
September 29, 2016 at 1:52 pm in reply to: Need to revert to Genesis prior to 2.4: download? #193911darren_cMemberYou can revert to previous version by going to downloads and follow ing the link to at the bottom of the page.
Installing the previous version gives an error message but refeshing the page a few times seems to work ok.
September 29, 2016 at 1:34 pm in reply to: Need to revert to Genesis prior to 2.4: download? #193910darren_cMemberYeah, the update has killed mobile responsiveness for me across sites and thrs.
It is like we have gone back five years in one small step.
darren_cMemberI managed to do it be enabling the layouts option in custom post types
add_post_type_support( 'your_custom_post_type', 'genesis-layouts' );
credit to: http://bryantwebdesign.com/code/add-genesis-settings-custom-post-types/
So now I just add the custom post id in layout settings as I did before.
darren_cMemberNot really. Yoast adds a lot of functions that make zero difference to your sites search performance. I don't think going back to basics is going to make any difference - I was just hoping for some more constructive feedback?
darren_cMember+1 for jetpack comments.
darren_cMemberIn theory yes. But things like image sizes and widget placement often need tweaking to suit the new style.
darren_cMemberhttps with 'spdy' can be faster than regular http.
How easy it will be for you to enable 'spdy' depends on your hosting set up but it is certainly worth considering.
darren_cMemberI'd echo the comments above. Optimising for page speed is always a compromise and you can end up breaking your site on some browsers just for the sake of gaining an extra point or two.
darren_cMemberI switched to the Yoast plug-in a few months ago and wish I hadn't. It's too complex and requires constant updates. The developers are quite arrogant and don't respond well to criticism.
darren_cMemberSince no one wants to comment I'm closing this as solved.
darren_cMemberAfter a lot of trial and error I have this and it seems to work:
wp_localize_script( 'agency-pro-backstretch-set', 'BackStretchImg', array( 'src' => 'https://cdnurl.com/media/image123.jpg' ) );
darren_cMemberThanks for the fix.
Works on Agency Pro and Sixteen Nine prodarren_cMemberIn Genesis Theme Settings > Blog Page Template > 'Number of posts to show'
What is the number entered?
January 29, 2014 at 10:31 am in reply to: Agency theme background 'jumping' on android mobile device #87693darren_cMemberJust to add, this isn't site specific - it can be replicated with the demo
http://demo.studiopress.com/agency/this-is-a-sample-post/ -
AuthorPosts