该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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订阅开发日志