
MetaMax is meant to be a lightweight and super simple replacement for Yoast SEO. He does not have the advanced GUI or content analysis that Yoast SEO offers, but instead focuses on good standards and less noise — all ready to go in one click. MetaMax is also more performant than Yoast SEO, and will not have the same impact on your pageload. But of course you always cache your site anyways, right? Made with passion by Appex!
SEO, Yoast, social, sharing, meta, meta tags, facebook, twitter, google, description
Appex_Metamax::FILTER_META_OG_TITLE
Appex_Metamax::FILTER_META_DESCRIPTION
Appex_Metamax::FILTER_META_OG_DESCRIPTION
Appex_Metamax::FILTER_META_OG_LOCALE
Appex_Metamax::FILTER_META_OG_SITE_NAME
Appex_Metamax::FILTER_META_OG_URL
Appex_Metamax::FILTER_META_OG_VIDEO
Appex_Metamax::FILTER_META_OG_TYPE
Appex_Metamax::FILTER_META_PROFILE_FIRST_NAME
Appex_Metamax::FILTER_META_PROFILE_LAST_NAME
Appex_Metamax::FILTER_META_TWITTER_CARD
Appex_Metamax::FILTER_META_FB_APP_ID
The filters above will expect a string in return
if ( class_exists( 'Appex_Metamax' ) ) {
add_filter( Appex_Metamax::FILTER_META_OG_TITLE, function( $content ) {
// Override title if not on home page
if( !is_home() ) {
$content = 'My new fancy title';
}
return $content;
});
}
Appex_Metamax::FILTER_META_OG_IMAGE
Appex_Metamax::FILTER_META_DEFAULT_OG_IMAGE
The image filters will expect an array of arrays with url, width and height in the following format: array(array(url, width, height));
// Default image fallback filter
if ( class_exists( 'Appex_Metamax' ) ) {
add_filter( Appex_Metamax::FILTER_META_DEFAULT_OG_IMAGE, function( $images ) {
$images[] = wp_get_attachment_image_src( $attachment_id, 'large' );
return $images;
});
}
// Add images
if ( class_exists( 'Appex_Metamax' ) ) {
add_filter( Appex_Metamax::FILTER_META_OG_IMAGE, function( $images ) {
$images[] = array(
'http://example.com/images/waycoolimage.jpg',
1200,
800
);
if( is_archive() ) {
$images[] = wp_get_attachment_image_src( $attachment_id, 'large' );
}
return $images;
});
}
Download & install the zip archive
The plugin package installer can be downloaded from the WP2E project tab called “code”.
1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.
2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.
3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.
Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.