Monthly Archives: February 2018

yoast seo and genesis fuck up

yaost seo class-frontend.php

line 1058

 

// Don’t do this for Genesis, as the way Genesis handles homepage functionality is different and causes issues sometimes.
/**
* Filter ‘wpseo_genesis_force_adjacent_rel_home’ – Allows devs to allow echoing rel=”next” / rel=”prev” by Yoast SEO on Genesis installs.
*
* @api bool $unsigned Whether or not to rel=next / rel=prev .
*/
if ( is_home() && function_exists( ‘genesis’ ) && apply_filters( ‘wpseo_genesis_force_adjacent_rel_home’, false ) === false ) {
return;
}

 

must be changed to

 

if ( is_home() && function_exists( ‘genesis’ ) && apply_filters( ‘wpseo_genesis_force_adjacent_rel_home’, true ) === false ) {
return;
}

 

in order to enable rel next prev to function prop.