Custom Fields to Meta Tags

外掛說明

Custom Fields to Meta Tags lets you leverage WordPress custom fields to generate <meta> tags in your site’s <head> section.

Simply add a custom field to your post or page with a key that starts with cfmt, and the plugin will automatically turn it into a meta tag.

Example:
– Custom field key: cfmtdescription
– Custom field value: Description of the post/page
– Output in <head>:

Key Features

  • Lightweight, zero-configuration – just activate and use.
  • Prefix-based system (cfmt) to avoid conflicts.
  • Works with posts, pages, and custom post types.
  • Useful for creating:
    • Meta descriptions
    • Author or copyright tags
    • Custom SEO tags

Why use this plugin?

Most SEO plugins are heavy and packed with features you may not need. If you only want to generate custom meta tags directly from WordPress custom fields, this plugin is the simplest solution.

No settings page, no bloat — just pure functionality.

螢幕擷圖

安裝方式

  1. Upload the plugin files to /wp-content/plugins/custom-fields-to-meta-tags/, or install directly from the WordPress plugin directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Add custom fields prefixed with cfmt in your post/page editor.
  4. View the page source to see your custom meta tags in the <head>.

常見問題集

How do I create a meta description?

Add a custom field with the key cfmtdescription and the value you want. It will output as:

Does this conflict with SEO plugins?

If you already use SEO plugins (like Yoast or Rank Math), those may also output a meta description. You should avoid duplicating the same tag.

Can I use it for Open Graph or Twitter Cards?

Yes. Example:
– Key: cfmtog:title
– Value: Custom OG Title
– Output: <meta name="og:title" content="Custom OG Title">

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Custom Fields to Meta Tags〉的開發相關工作。

參與者

將〈Custom Fields to Meta Tags〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.0

  • Initial release.