[WordPress] 外掛分享: Get terms name__like

前言介紹

  • 這款 WordPress 外掛「Get terms name__like」是 2013-11-08 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2013-11-09,距離現在已有 4192 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.7 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

keesiemeijer |

外掛標籤

name__like |

內容簡介

WordPress 3.7 中「name_like」參數被更改為符合包含「name__like」字串的詞彙。如果你想要和 3.7 之前的版本一樣,只匹配以「name__like」字串開始的詞彙,請使用此外掛或在自己的(子)佈景主題中使用外掛檔案中的相關函數。

這個外掛可逆轉此 Trac 票所作的更改。
https://core.trac.wordpress.org/ticket/8214

「search」參數幾乎做了和「name__like」參數現在 (在 3.7 版本) 一模一樣的事情,唯一的差別是它還搜尋詞彙的別名。若要取得你想要的詞彙,請使用兩個參數 (就像 3.7 版本之前的一樣)。
請參閱:https://codex.wordpress.org/Function_Reference/get_terms#Parameters

注意:此外掛僅會在 WordPress 3.7 及以上版本的網站前端逆轉此更改。

原文外掛簡介

The “name_like” parameter was changed in WordPress 3.7 to match terms that contain the “name__like” string. Use this plugin or use the function from the plugin file in your own (child) theme if you want it to only match terms that begin with the “name__like” string as it was prior to 3.7.
This reverses the changes made in this trac ticket.
https://core.trac.wordpress.org/ticket/8214
The “search” parameter does almost exactly what the “name__like” parameter does now (in 3.7), the difference being it also searches in term slugs. Use both parameters (as it was before 3.7) to get the terms you want.
See: https://codex.wordpress.org/Function_Reference/get_terms#Parameters
Note: this plugin only reverses it on the front end of your website for WordPress versions 3.7 and up.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Get terms name__like」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon