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

Search Engine Keywords Plugin

外掛說明

I created a WordPress plugin that can be used to correlate the keywords used to find your page on the search engines to a box where you can put anything you want, for example your affiliate marketing links, a link to something you want your visitor to read, or a “hello” to the visitor.

We all know from our site stats what our visitors are searching for on our site. Sometimes they come looking for something that isn’t there. So, you can leave them a personalized message.

Otherwise, you may be looking for ways to monetize your site: this plugin is fantastic for this, because it gives you the opportunity to display some tematic links (quite in a Adsense way, but you control it). You can send affiliate marketing links to the visitor interested in them.

This is my first WordPress plugin, so any suggestion is welcome. Please leave a comment on my weblog if you find it useful.

How does it work?

It doesn’t address a single page, but all the pages that are listed in the search engine SERPs for that particular key.

Thanks to the functions written by Thomas Silkjær in his Landing Sites WP plugin, the plugin finds out what keyword the visitor typed in the search engine form to get to the site.

In the administrator panel, you can set the keywords to search for, and the message you want to display, written in XHTML. You can then style it as you want using your CSS file, adding some selectors for the div #copesSearchEngineKeywordPlugin.

This plugin does not add any additional table in the database.

安裝方式

Download the plugin, then unarchive it and install it by uploading the CopesSearchEngineKeywordPlugin directory to your WordPress installation, in the wp-content/plugins directory.

Then activate it from the administrator panel Plugins.

In order to get this plugin to work, you have to put these lines in your template, wherever you want your message to appear. To give it a great visibility, I suggest to put it at the end of the header.php file, so that the message will be displayed before the post.

addContent();
}
?>

Hope you like it!

使用者評論

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

參與者及開發者

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

參與者

將〈Search Engine Keywords Plugin〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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