前言介紹
- 這款 WordPress 外掛「YD Search Functions」是 2010-04-20 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2010-05-10,距離現在已有 5473 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.9.1 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
ydubois |
外掛標籤
wp | search | snippet | WordPress |
內容簡介
類比 Google 搜尋顯示 WordPress 搜尋結果!
此 WordPress 外掛程式安裝了一組新的模板函數,讓您自定義 WordPress 搜尋頁面中顯示搜尋結果的方式。
您可以使用即時生成 Google 風格的文本片段來協助使搜尋結果的摘要更有用性。
您可以即時進行高亮顯示搜尋命中詞 (基於內嵌 xml,非笨重的非同步 Javascript)。
由於您自定義的搜尋結果摘要會被包含在交付的頁面內容中,所以它們可以被第三方網絡搜索引擎索引。
片段結果的 CSS 樣式與 Google 自定義搜索引擎樣式表兼容,可實現完整集成。
通過外掛程式的設置頁面,可高度自定義搜尋結果顯示的設計:您可以設置是否以及如何顯示片段日期 (支援本地化日期顯示)。
您可以選擇縮略說明/片段長度和顯示突出顯示搜尋命中詞的方式。
這是一個範例:http://www.nogent-citoyen.com/recherche/tour+eiffel 您可以看到在以上範例中左欄顯示了通過使用此外掛程式生成的 WordPress 搜尋結果,右欄顯示了非同步 Google 自定義搜尋引擎結果。
檢視您的訪客正在搜尋什麼!
此外掛程式安裝了新的儀表板 (管理面板小工具),以實時顯示您的用戶在您的博客中正在搜尋什麼 (熱門搜索列表,基本搜尋統計)。
它實現了搜索記錄和搜尋統計,並提供了最常搜索的小工具和模板函數以顯示熱門搜索列表。
最常搜索的清單可在您的管理面板中進行管理:您可以選擇重置任何搜尋表示的計數器或禁用該列表。
大多數蜘蛛和垃圾機器人已被過濾出搜尋計數器,以防止搜索鏈接垃圾郵件。
此外掛程式有自己的管理選項/設置頁面。
它是完全國際化的。搜尋功能支援 UTF-8 多字節,並處理重音文本。
日期顯示支援本地化問題。
基礎套件包括 .pot 檔案,以翻譯介面和英語和法語版本。
提示:儘管已經完全可用,但此外掛程式仍處於開發階段,會定期新增新功能以進一步改進搜尋結果的自定義和顯示。
可用的模板函數
在搜尋結果頁面模板循環 (search.php) 中使用 。
例如,在您的搜尋模板主題文件 (search.php) 中,找到“the_content()”所在的位置,並像這樣替換它:
在任何頁面模板中的任何位置中使用 。
例如,在您的主頁面模板主題文件 (index.php) 中插入以下內容:
積極支援
到我的YD 搜尋功能外掛程式支援網站留言,以報告錯誤,要求特定功能或改進,或告訴我您使用外掛程式的方式。
法文描述:
此外掛程式安裝了一組新的模板函數,讓您自定義 WordPress 搜尋頁面中顯示搜尋結果的方式。
原文外掛簡介
Display WordPress search results like Google!
This WordPress plugin installs a set of new template functions that lets you customize the way search results are displayed in your WordPress search page.
You can use on-the-fly generated Google-style text snippets to help make search result abstracts more useful.
You can do on-the-fly hit-highlighting (in-line xml-based, not through a cumbersome asynchronous Javascript).
Your customized search result snippets being included in the delivered page content, they can be indexed by third-party web search engines.
The CSS styling of snippet results is compatible with Google custom search engine stylesheets for complete integration.
The design of the search result display is highly customizable through the plugin’s settings page: you can set-up if and how the snippet’s date is displayed (localized date display is supported).
You can choose the abstract/snippet length and the way highlighted search hits are rendered.
For an example of what it can look like, look here: http://www.nogent-citoyen.com/recherche/tour+eiffel (in this example, the left columns displays WordPress-generated results using this plugin, while the right column displays asynchronous Google custom search engine results)
Check-out what your visitors are searching for!
The plugin installs a new dashboard (admin panel widget) which shows you in real time what your users are searching for on your blog (top-search listing, basic search statistics).
It implements search logging, search statistics, and gives you a most-searched widget and template function to display the list of top-searches.
The most frequently searched listing is manageable in your admin panel: you can choose to reset counters for any search expression, or ban that expression from being listed.
Most spiders and spam-robots are filtered-out of the search counter to prevent search link-spamming.
The plugin has its own admin options/settings page.
It is fully internationalized. The search functions are UTF-8 multibyte compatible and do take care of accentuated text.
The date display supports localization issues.
Base package includes .pot file for translation of the interface, and English and French versions.
NB: although already fully functional, this plugin is still in active development stage, and new features are added on a regular basis to help further improve search-result customization and display.
Available template functions
Use in your search results page template loop (search.php).
For example, in your search template theme file (search.php), find the place where it says the_content() and replace it like this:
Use anywhere in any page template.
For example, in your home page template theme file (index.php), insert something like this:
Active support
Drop me a line on my YD Search Functions plugin support site to report bugs, ask for a specific feature or improvement, or just tell me how you’re using the plugin.
Description en Français :
Ce plug-in WordPress installe des fonctions avancées d’affichage des résultats de recherche.
Vous pouvez notamment l’utiliser pour afficher des extraits de texte intelligents dans vos résultats (“snippets” à la Google).
Il n’extraira que les passages du texte contenant les mots-clés et expressions recherchés.
Il pourra également surligner dans le texte les expressions et mots recherchés.
La fonction de surlignage se fait en ligne dans le flux XML et non en mode asynchrone avec un Javascript lent et lourd.
Les snippets et les mots surlignés faisant partie du texte de vos pages de résultats de recherche, ils peuvent eux-même être indéxés par les moteurs de recherche externes du web, donnant de la valeur originale à vos pages de résultats.
Par ailleurs, ce plugin active l’enregistrement des recherches effectuées par les visiteurs sur votre site,
et vous remonte au niveau de votre interface d’administration la liste des recherches les plus fréquentes.
Une fonction de template et/ou un widget vous permettent d’afficher la liste des recherches les plus courantes pour vos visiteurs.
Le style CSS généré pour les résultats de recherche est compatible avec les feuilles de styles utilisées par le moteur de recherche Google custom pour une intégration parfaite (voir exemple ci-dessous).
Le plugin a sa propre page d’option dans l’administration.
Il est entièrement internationalisé.
La distribution standard inclut le fichier de traduction .pot et les versions française et anglaise.
Le plugin peut fonctionner avec n’importe quelle langue ou jeu de caractères.
Les fonctions de recherche et de surlignage gèrent les caractères français accentués de façon intelligente.
Elles sont compatibles utf-8 multibyte.
Pour voir un exemple du fonctionnement de ce plug-in en grandeur nature, regardez ici : http://www.nogent-citoyen.com/recherche/pavillon+baltard
(dans cet exemple, la colonne de gauche affiche des résultats WordPress générés avec ce plug-in alors que la colonne de droite affiche des résultats de l’API du moteur de recherche Google custom)
Pour toute aide ou information en français, laissez-moi un commentaire sur le site de support du plugin YD Search Functions.
Funding Credits
Original development of this plugin has been paid for by www.Nogent-Citoyen.com. Please visit their site!
Le développement d’origine de ce plugin a été financé par www.Nogent-Citoyen.com. Allez visiter leur site !
Translation
If you want to contribute to a translation of this plugin or its documentation, please drop me a line by e-mail or leave a comment on the plugin’s page.
You will get credit for your translation in the plugin file and this documentation, as well as a link on this page and on my developers’ blog.
Plugin options/settings page
Use the plugin’s own options/settings page to customize settings if necessary.
Revisions
0.1.0 Original beta version.
0.2.0 First improvements (function interface, options/settings, no debug code)
0.2.1 Bugfix: caps search string (uppercase) / thanks to Inky for reporting
0.3.0 Complete settings, multi-word highlighting fixed, improved settings page design
0.4.0 Added search logging, search statistics, most searched listings, top-search widget and lots of new customization options
To Do
Test. Final release.
Look at comments on top of main plugin file to get a general idea of what is coming ahead in future versions.
Did you like it?
Drop me a line on http://www.yann.com/en/wp-plugins/yd-search-functions
And… please rate this plugin –>
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「YD Search Functions」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
Header Footer Code Manager 》Header Footer Code Manager by 99 Robots 是一個簡易的介面,可將片段添加到頁面的標頭或頁腳或內容上方或下方。, 優點, , 無需擔心因添加代碼而不小心使網...。
Post Snippets – Custom WordPress Code Snippets Customizer 》, 建立自訂短碼和可重複使用的內容,並將它們插入到您的文章和頁面中。, , 此外掛讓您建立 HTML、PHP 程式碼或常用文字片段的庫。在文章和頁面中,您可以使用...。
Bit File Manager – 100% Free & Open Source File Manager and Code Editor for WordPress 》這是一款功能最強大的 WordPress 檔案管理外掛,您可以使用該外掛上傳、刪除、複製、移動、重新命名、壓縮、解壓縮等操作來操縱檔案。您不必再擔心 FTP。使用...。
Visual Link Preview 》這個外掛可以輕鬆地為你網站上的任何連結建立像 Facebook 一樣的連結預覽。你可以選擇要顯示的圖像和文字,並建立自己的自訂範本。預設範本可以從設定中進行...。
Snippet Shortcodes 》文件/升級, Snippet Shortcodes 網站, Snippet Shortcodes 是什麼?, 您是否想在整個網站上使用相同的文本片段或 HTML 片段,但只需在一個位置更改值?如果是...。
Content Cards 》Content Cards 讓普通的網頁連結變得非常好看,可以嵌入一個美麗的 Content Card 連結到任何網站。, 藉由使用 OpenGraph 資料,Content Cards 會自動擷取嵌入...。
CodeColorer 》CodeColorer 是一個外掛程式,它可以讓您在文章中插入代碼片段並添加漂亮的語法高亮效果。, 此外掛程式基於 GeSHi庫建立,支援大多數語言。CodeColorer 的各...。
Code Snippet DM 》在您的內容中以時尚的方式顯示您的程式碼片段。此外,該外掛程式還使用短代碼和直觀的 TinyMCE 介面。, Code Snippet DM 受到專案 Carbon 的啟發。, 我們創建...。
Code Engine 》
,Code Engine 是一個幫助您管理 Code Snippets 和 WP Code 的工具。它會檢查錯誤、收集程式碼片段並為 AI 模型創建 JSON。
...。blogfoster Insights 》此外掛已被棄用,應該加以移除。它曾用於將 blogfoster Insights 整合至 WordPress 網誌中。, 可用語言, 使用者介面可提供以下語言:, , 英文, 德文(Deutsch...。
Hide My Dates 》此外掛使用 CSS hack 來顯示日期 - 您的訪客可以看到,但 Google 將其視為 "span" 元素的 "title" 參數,並不認為其是頁面內容的一部分。因此,在搜尋結果內...。
Snippet Vault 》Snippet Vault 可讓 WordPress 使用者輕鬆地在文章、頁面或自訂文章類型中新增 HTML、iFrame、簡碼和其他隨機文字。, Snippet Vault 支援:, , 文章、頁面和...。
Dessky Snippets 》這是一款輕量且簡單的外掛,可以讓你在 WordPress 管理後台輕鬆新增自訂 PHP 程式碼。, 不需要再手動編輯 functions.php 檔案,透過這個外掛程式,你可以輕易...。
SafeCode 》輕鬆地添加片段、自訂程式碼和功能供 WordPress 環境執行。這些程式碼將安全地運行,如果您在程式碼中打錯字,您的網站不會發生嚴重錯誤而中斷。🙂, 這是一個...。
Custom Code Manager 》一個易於使用且具有直覺接口的 WordPress 外掛,讓您能夠安全且輕鬆地將自定的程式碼(PHP、HTML、CSS、JavaScript等)直接加入 WordPress 網站,而無需使用...。