Add String to the Local SEO Business Name

add_filter( ‘aioseo_local_business_get_location’, ‘aioseo_change_local_business_get_location’, 10, 2 ); function aioseo_change_local_business_get_location( $information, $postId ) { if ( 19 === $postId ) { $information->locations->business->name .= ‘ LLC’; } return $information; }Continue reading

Reduce Database Calls

/* Increase WordPress upload size, post size, and max execution time Original doc link: https://wpforms.com/how-to-change-max-file-upload-size-in-wordpress/ For support, please visit: https://www.facebook.com/groups/wpformsvip */Continue reading

Change default zoom for all PDF files in PDF Embedder Premium

/** * Set the default zoom value for all shortcodes/blocks regardless of their settings. * See https://wp-pdf.com/premium-instructions/shortcodes/#zoom for available Zoom values. */ add_filter( ‘pdfemb_premium_viewer_strings’, static function( $atts ) { $atts[‘zoom’] = ‘page-actual’; $atts[‘fpzoom’] = ‘page-actual’; return $atts; } );Continue reading

Add Another Meta Keyword to Each Post

add_filter( ‘aioseo_keywords’, ‘aioseo_filter_keywords’ ); function aioseo_filter_keywords( $keywords ) { if ( is_singular() ) { $keywords = explode( ‘,’, $keywords ); array_push( $keywords, ‘anotherkeyword’ ); $keywords = implode( ‘,’, $keywords ); } return $keywords ; }Continue reading