Add custom class to body

add_filter( ‘body_class’, function ( $classes ) { global $post; if ( is_front_page() || is_page( [64, 78, 532, 533, 76] ) || $post->post_parent == 64 || is_singular( ‘product’ ) || is_post_type_archive( ‘product’ ) ) { $classes[] = ‘header-button-blue’; } if (…Continue reading

Increase SEO Analyzer TimeOut

add_filter( ‘http_request_args’, ‘aioseo_filter_analyzer_timeout’, 1, 2 ); function aioseo_filter_analyzer_timeout( $args, $url ) { if ( ‘https://analyze.aioseo.com/v1/analyze/’ === $url ) { $args[‘timeout’] = 120; } return $args; – }Continue reading

Add to Theme Master

.staff-bio-section .staff-bio .bio p:first-child { color: var(–secondary-color); font-size: 1.25rem; } .single-staff .text a { color: var(–primary-color); } /* highlight */ .highlight { background: var(–primary-color); padding: 37px 40px; margin: 40px 0px; } .highlight h2:first-child, .highlight h2:first-child { margin-top: 0; color:#fff; }…Continue reading