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

MetaTagsFromContent

描述

Find the post. Click “Edit post”. Activate the “Text” tab of your post.

To modify the title tag of your post, add a simple string into your post content:
<!—title=”your title”—> (See screenshot-1)

To modify the description tag of your post, add:
<!—description=”your description”—> (See screenshot-1)

IMPORTANT!!! Be sure after “<!” characters you have two “-” characters. It is similar to HTML comment tag.

Multilingual support

If some kind of multilingual plugins are active (for example Multilanguage by BestWebSoft) – you can define titles and descriptions in other way: (See screenshot-2)

English locale (United States)
<!—title_en_US=”your title”—>
<!—description_en_US=”your description”—>

Українська локаль
<!—title_uk=”Ваш заголовок”—>
<!—description_uk=”Ваш опис”—>

Русская локаль
<!—title_ru_RU=”Ваш заголовок”—>
<!—description_ru_RU=”Ваше описание”—>

Feedbacks are welcome. Visit onlineservicetools.com

螢幕截圖

  • How to define title and description from post/page content
  • How to define multilanguage title and description from post/page content

常見問題

Is plugin compatible with Yoast SEO?

Yes, it’s compatible.

How to set up title and description for different languages?

English:
<!–title_en_US=”your title”–>
<!–description_en_US=”your description”–>
Українська:
<!–title_uk=”Ваш заголовок”–>
<!–description_uk=”Ваш опис”–>
Русский:
<!—title_ru_RU=»Ваш заголовок»—>
<!—description_ru_RU=»Ваше описание»—>

I defined title and description like you said, but they are shown as default

Please check below points:
1. You defined title and description in the “Text” tab of content editor.
2. Check the spelling of definitions: < ! – – “…….” – – >
There should be NO SPACES between all definition characters.
3. Open your page in browser, open the source of page and find your title and description definitions. They should be there.

評價

閱讀全部1個評價

貢獻者及開發者

“MetaTagsFromContent” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 MetaTagsFromContent 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄