{"id":51024,"date":"2016-09-23T11:47:12","date_gmt":"2016-09-23T11:47:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/metamax\/"},"modified":"2016-10-19T12:42:23","modified_gmt":"2016-10-19T12:42:23","slug":"metamax","status":"publish","type":"plugin","link":"https:\/\/azb.wordpress.org\/plugins\/metamax\/","author":15029137,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.1","stable_tag":"1.1.1","tested":"4.7.33","requires":"4.6","requires_php":"","requires_plugins":"","header_name":"MetaMax","header_author":"Appex","header_description":"","assets_banners_color":"e66609","last_updated":"2016-10-19 12:42:23","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/appex.no\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1881,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1501045","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1501045","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1501085","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1501085","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[150,5777,16192,6364,186],"plugin_category":[],"plugin_contributors":[91596,91597,91598],"plugin_business_model":[],"class_list":["post-51024","plugin","type-plugin","status-publish","hentry","plugin_tags-google","plugin_tags-meta-description","plugin_tags-meta-title","plugin_tags-noindex","plugin_tags-seo","plugin_contributors-andersdosen","plugin_contributors-eoutvik","plugin_contributors-heintore","plugin_committers-andersdosen","plugin_committers-eoutvik","plugin_committers-heintore"],"banners":{"banner":"https:\/\/ps.w.org\/metamax\/assets\/banner-772x250.png?rev=1501085","banner_2x":"https:\/\/ps.w.org\/metamax\/assets\/banner-1544x500.png?rev=1501085","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/metamax\/assets\/icon-128x128.png?rev=1501045","icon_2x":"https:\/\/ps.w.org\/metamax\/assets\/icon-256x256.png?rev=1501045","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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 &mdash; 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!<\/p>\n\n<h4>Tags<\/h4>\n\n<p>SEO, Yoast, social, sharing, meta, meta tags, facebook, twitter, google, description<\/p>\n\n<h3>Filters<\/h3>\n\n<blockquote>\n  <p>Appex_Metamax::FILTER_META_OG_TITLE<br \/>\n  Appex_Metamax::FILTER_META_DESCRIPTION<br \/>\n  Appex_Metamax::FILTER_META_OG_DESCRIPTION<br \/>\n  Appex_Metamax::FILTER_META_OG_LOCALE<br \/>\n  Appex_Metamax::FILTER_META_OG_SITE_NAME<br \/>\n  Appex_Metamax::FILTER_META_OG_URL<br \/>\n  Appex_Metamax::FILTER_META_OG_VIDEO<br \/>\n  Appex_Metamax::FILTER_META_OG_TYPE<br \/>\n  Appex_Metamax::FILTER_META_PROFILE_FIRST_NAME<br \/>\n  Appex_Metamax::FILTER_META_PROFILE_LAST_NAME<br \/>\n  Appex_Metamax::FILTER_META_TWITTER_CARD<br \/>\n  Appex_Metamax::FILTER_META_FB_APP_ID<\/p>\n<\/blockquote>\n\n<p>The filters above will expect a string in return<\/p>\n\n<h4>Example<\/h4>\n\n<pre><code>if ( class_exists( 'Appex_Metamax' ) ) {\n\n    add_filter( Appex_Metamax::FILTER_META_OG_TITLE, function( $content ) {\n\n        \/\/ Override title if not on home page\n        if( !is_home() ) {\n\n            $content = 'My new fancy title';\n\n        }\n\n        return $content;\n\n    });\n\n}\n<\/code><\/pre>\n\n<blockquote>\n  <p>Appex_Metamax::FILTER_META_OG_IMAGE<br \/>\n  Appex_Metamax::FILTER_META_DEFAULT_OG_IMAGE<\/p>\n<\/blockquote>\n\n<p>The image filters will expect an array of arrays with url, width and height in the following format: array(array(url, width, height));<\/p>\n\n<h4>Example<\/h4>\n\n<pre><code>\/\/ Default image fallback filter\nif ( class_exists( 'Appex_Metamax' ) ) {\n\n    add_filter( Appex_Metamax::FILTER_META_DEFAULT_OG_IMAGE, function( $images ) {\n\n        $images[] = wp_get_attachment_image_src( $attachment_id, 'large' );\n\n        return $images;\n\n    });\n\n}\n\n\/\/ Add images\nif ( class_exists( 'Appex_Metamax' ) ) {\n\n    add_filter( Appex_Metamax::FILTER_META_OG_IMAGE, function( $images ) {\n\n        $images[] = array(\n                        'http:\/\/example.com\/images\/waycoolimage.jpg', \n                        1200, \n                        800 \n                    );\n\n        if( is_archive() ) {\n\n            $images[] = wp_get_attachment_image_src( $attachment_id, 'large' );\n\n        }\n\n        return $images;\n\n    });\n\n}\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>For most use cases the MetaMax defaults will be sufficient, but if, for some insane reason, MetaMax is unable to generate the desired output on one or more meta tags, you can always hook on to his filters and tell him how he should handle your content. If you do, he will blindly follow your instructions even if it sets your server RAM on fire. Good luck!<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Does MetaMax support WooCommerce?<\/dt>\n<dd><p>We don't know. He certainly does if you tell him how to handle WooCommerce content in his filters.<\/p><\/dd>\n<dt>Does MetaMax support multisite?<\/dt>\n<dd><p>Again, we don't know. Maybe you could try it out and give us some feedback? :)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Fixed linebreak on 404 pages<\/li>\n<li>Fixed missing global $post object<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed undefined $post_thumbnail_id bug<\/li>\n<li>Removed attached images from og:image array<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"MetaMax automagically inserts meta tags in your html to make your site more SEO friendly.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/51024","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=51024"}],"author":[{"embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/eoutvik"}],"wp:attachment":[{"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=51024"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=51024"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=51024"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=51024"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=51024"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/azb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=51024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}