Title: MetaMax
Author: eoutvik
Published: <strong>2016 年 9 月 23 日</strong>
Last modified: 2016 年 10 月 19 日

---

搜尋外掛

![](https://ps.w.org/metamax/assets/banner-772x250.png?rev=1501085)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/metamax/assets/icon-256x256.png?rev=1501045)

# MetaMax

 由 [eoutvik](https://profiles.wordpress.org/eoutvik/) 開發

[下載](https://downloads.wordpress.org/plugin/metamax.1.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/metamax/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/metamax/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/metamax/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/metamax/#developers)

 [技術支援](https://wordpress.org/support/plugin/metamax/)

## 外掛說明

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!

#### Tags

SEO, Yoast, social, sharing, meta, meta tags, facebook, twitter, google, description

### Filters

> 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

#### Example

    ```
    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));

#### Example

    ```
    // 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;

        });

    }
    ```

## 安裝方式

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!

## 常見問題集

  Does MetaMax support WooCommerce?

We don’t know. He certainly does if you tell him how to handle WooCommerce content
in his filters.

  Does MetaMax support multisite?

Again, we don’t know. Maybe you could try it out and give us some feedback? 🙂

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈MetaMax〉的開發相關工作。

參與者

 *   [ eoutvik ](https://profiles.wordpress.org/eoutvik/)
 *   [ andersdosen ](https://profiles.wordpress.org/andersdosen/)
 *   [ heintore ](https://profiles.wordpress.org/heintore/)

[將〈MetaMax〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/metamax)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/metamax/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/metamax/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/metamax/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/metamax/)。

## 變更記錄

#### 1.1.1

 * Fixed linebreak on 404 pages
 * Fixed missing global $post object

#### 1.1

 * Fixed undefined $post_thumbnail_id bug
 * Removed attached images from og:image array

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **1.1.1**
 *  最後更新 **10 年前**
 *  啟用安裝數 **10+**
 *  WordPress 版本需求 ** 4.6 或更新版本 **
 *  已測試相容的 WordPress 版本 **4.7.33**
 *  語言
 * [English (US)](https://wordpress.org/plugins/metamax/)
 * 標籤:
 * [google](https://tw.wordpress.org/plugins/tags/google/)[meta description](https://tw.wordpress.org/plugins/tags/meta-description/)
   [meta title](https://tw.wordpress.org/plugins/tags/meta-title/)[noindex](https://tw.wordpress.org/plugins/tags/noindex/)
   [seo](https://tw.wordpress.org/plugins/tags/seo/)
 *  [進階檢視](https://tw.wordpress.org/plugins/metamax/advanced/)

## 評分

這個項目尚無任何評論記錄。

[Your review](https://wordpress.org/support/plugin/metamax/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/metamax/reviews/)

## 參與者

 *   [ eoutvik ](https://profiles.wordpress.org/eoutvik/)
 *   [ andersdosen ](https://profiles.wordpress.org/andersdosen/)
 *   [ heintore ](https://profiles.wordpress.org/heintore/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/metamax/)