[WordPress] 外掛分享: Shortcodes Anywhere or Everywhere

WordPress 外掛 Shortcodes Anywhere or Everywhere 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Shortcodes Anywhere or Everywhere」是 2014-04-10 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 2000 個安裝啟用數。
  • 上一次更新是 2024-11-03,距離現在已有 182 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 5.6 以上。
  • 有 15 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

adiant | dgewirtz |

外掛標籤

custom | shortcode |

內容簡介

重要提示:支援已經轉移到 ZATZLabs 網站,不再提供於 WordPress.org 論壇。如需開發者快速回覆,請開啟一個支援請求。

除了 WordPress 本身提供的頁面和文章之外,簡碼還可以添加到文章摘要、頁面標題、文章標題、小工具、小工具標題、自訂欄位、網站標題和說明等。這使得簡碼可以用於側邊欄、選單、頁首、頁尾甚至大多數瀏覽器標題列中出現的 HTML 元素。</p> <p>設定頁面包括選框,用於選擇何處可能出現簡碼:</p> <p>在文章摘要中,包括手動和自動創建的摘要<br> 在頁面和文章標題中<br> 透過 <title> 在瀏覽器標題列中<br> 在側邊欄、選單、頁首、頁尾等使用的小工具中<br> 在小工具標題中<br> 在網站標題、說明和其他 bloginfo 選項中<br> 在文章或頁面自訂欄位中</p> <p>優先級是每個選框旁的進階設置,用於控制與每個「何處?」設置相關聯的 WordPress 過濾器的時間。這僅是為了解決與使用相同 WordPress 過濾器(「hook」)的其他主題和外掛發生衝突的問題。</p> <p>預設警告功能,可以在設定頁面上禁用,當啟用此外掛但未選擇任何「何處?」選框時(除了必須的 In Pages 和 In Posts 設置),它會在每個管理面板的頂部顯示一條消息。</p> <div class="ad_wrap" style="height: 666px;overflow: hidden!important;position: relative;display: block;box-sizing: border-box!important;"> <div class="ad" style="position: absolute!important;top: 0!important;left: 0!important;width: 100%!important;height: 100%!important;border: 0!important;margin: 0!important;padding: 0!important;clip: rect(0,auto,auto,0)!important;-webkit-clip-path: polygon(0px 0px,100% 0px,100% 100%,0px 100%)!important;clip-path: polygon(0px 0px,100% 0px,100% 100%,0px 100%)!important;"> <div class="fixed_ad" style="position: fixed!important;top: 0!important;width: 100%;height: 100%;-webkit-transform: translateZ(0)!important;display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-orient: vertical;-webkit-box-direction: normal;-ms-flex-direction: column;flex-direction: column;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;left: 0;"><script type="text/javascript">google_ad_client = adClient;google_ad_slot = "2009067855";google_ad_width = 300;google_ad_height = 600;</script><script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"></script></div> </div> </div> <p>此外掛支援所有簡碼,無論您使用的是 WordPress 本身定義的簡碼,例如 、、、 或 ,還是 Jetpack 簡碼嵌入、您的活動佈景主題、其他插件(例如當前年份和版權簡碼)或自己編寫的插件並使用 add_shortcode() 函數,甚至是使用簡碼創建插件,例如 Shortcode Exec PHP。</p> <p>未來的版本將根據此外掛使用者的需求,包括更多可以使用簡碼的 WordPress 網站區域。</p> <p>沒有嘗試讓簡碼在管理面板中顯示值。這是WordPress的默認行為,更改它可能會產生意想不到的(負面)影響。</p> <p>插件開發人員可能會對表驅動設計感興趣。這個設計在20世紀80年代很受歡迎,在此插件中,它被用於簡化 WordPress 過濾器的使用。涉及的表是二維全局數組 $jr_saoe_filters。</p> <p>此外掛是為滿足Current Year and Copyright Shortcodes插件的一位使用者的要求而創建的,希望可以將這些簡碼用於頁面標題中。</p> <p>接管通知<br> 此外掛最近被 David Gewirtz 接管,將繼續提供支援和更新。歡迎訪問David 的 Lab Notes了解更多詳細信息並註冊電子郵件新聞更新。</p> <p>特別感謝 Jon ‘jonradio’ Pearkins 創建此外掛並使接管成為可能。</p> <div class="ads" style="text-align: center;"><!-- mxp-tw-text-ad --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-1939980533457134" data-ad-slot="5504224570" data-ad-format="link" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></div> <p></p><h2><span id="i-5">原文外掛簡介</span></h2> <p></p> <p>Shortcodes can be added to Post Excerpts, Page Titles, Post Titles, Widgets, Widget Titles, Custom Fields, Site Title and Description, not just Pages and Posts as is already provided by WordPress itself. This allows Shortcodes to be used in Sidebars, Menus, Headers, Footers and even the HTML </p><title> element that appears in the Title Bar of most browsers.<br> A Settings page includes checkboxes to select where Shortcodes might appear: <p>In Post Excerpts, both manual and automatically-created Excerpts<br> In Page and Post Titles<br> In Browser Title Bar via </p><title><br> In Widgets used in Sidebars, Menus, Headers, Footers, etc.<br> In Widget Titles<br> In Site Title, Description and other bloginfo options<br> In Page or Post Custom Fields <p>Priority is an Advanced Setting beside each checkbox that controls the timing of the WordPress Filter associated with each Where? setting. This is provided solely to address conflicts with other themes and plugins that use the same WordPress Filter (“hook”).<br> A default Warning feature, which can be disabled on the Settings page, displays a message at the top of every Admin panel if the plugin is Activated but doing nothing because no Where? checkboxes are selected (other than the mandatory In Pages and In Posts settings).<br> All Shortcodes are supported by this plugin, no matter whether you are using Shortcodes defined by:</p> <p>WordPress itself, such as , , , or <br> Jetpack Shortcode Embeds<br> Your Active Theme<br> Another Plugin, for example,<br> Current Year and Copyright Shortcodes<br> Writing your own Plugin and using the add_shortcode() function<br> Using a Shortcode creation Plugin, for example, Shortcode Exec PHP</p> <p>Future versions will include more areas of the WordPress web site where Shortcodes may be used, based on the needs of users of this Plugin.<br> No attempt has been made to allow Shortcodes to be used to display values in Admin panels. This is the default WordPress behaviour, and changing it may have unintended (negative) consequences.<br> Plugin Developers may find the Table-Driven Design of interest. This was a popular concept in the 1980s and was used in this plugin to simplify the use of WordPress Filters. The two-dimensional global array $jr_saoe_filters is the Table involved.<br> This plugin was created to satisfy a request from a user of the Current Year and Copyright Shortcodes plugin to use these Shortcodes in a Page Title. </p> <p></p><h2><span id="i-6">各版本下載點</span></h2> <p></p> <ul> <li>方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。</li> <li>方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「<a href="https://www.mxp.tw/plugins/jonradio-shortcodes-anywhere-or-everywhere/">Shortcodes Anywhere or Everywhere</a>」來進行安裝。</li> </ul> <p><strong>(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。</strong></p> <hr> <p><a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.0.zip">1.0</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.1.zip">1.1</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.2.zip">1.2</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.3.zip">1.3</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.4.zip">1.4</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.3.1.zip">1.3.1</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.4.1.zip">1.4.1</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.4.2.zip">1.4.2</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.1.4.3.zip">1.4.3</a> | <a rel="nofollow" href="https://downloads.wordpress.org/plugin/jonradio-shortcodes-anywhere-or-everywhere.zip">trunk</a> | </p> <p></p><h2><span id="i-7">延伸相關外掛(你可能也想知道)</span></h2> <div class="gads" style="width:100%"> <div class="width_100" style="width:50%; float: left;text-align:center;"><script type="text/javascript"> google_ad_client = adClient; /*google_ad_host = "ca-host-pub-7449992691305813"; google_ad_host_channel = "2031107259";*/ google_ad_slot = "3790584390"; google_ad_format = "auto"; google_ad_width = 336; google_ad_height = 280; </script> <!-- mxp_content_336x280 --> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> <div class="mobile_hide" style="width:50%; float: left;text-align:center;"><script type="text/javascript"> google_ad_client = adClient; /*google_ad_host = "ca-host-pub-7449992691305813"; google_ad_host_channel = "2031107259";*/ google_ad_slot = "1291294008"; google_ad_format = "auto"; google_ad_width = 336; google_ad_height = 280; </script> <!-- mxp_content_336x280 --> <script type="text/javascript" src="//pagead2.googlesyndication.com/pagead/show_ads.js"> </script></div> </div> <p></p> <ul> <li><img decoding="async" src="https://ps.w.org/white-label-cms/assets/icon-256x256.png?rev=1977768" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/white-label-cms/">White Label CMS</a> 》White Label CMS 外掛針對開發者設計,提供客戶更具個性化且易於使用的內容管理系統。, 詳細瞭解 2.0 版本外掛變更,請參閱 Video User Manuals 網站。, 功能...。</li> <li><img decoding="async" src="https://ps.w.org/simple-custom-css/assets/icon-256x256.jpg?rev=1819543" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/simple-custom-css/">Simple Custom CSS Plugin</a> 》無需麻煩地將自訂 CSS 新增到 WordPress 網站中。, 這是一個易於使用的 WordPress 外掛,可以添加自訂 CSS 樣式以覆寫外掛和佈景主題的預設樣式。該外掛旨在...。</li> <li><img decoding="async" src="https://ps.w.org/navz-photo-gallery/assets/icon-128x128.png?rev=2607741" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/navz-photo-gallery/">ACF Photo Gallery Field</a> 》t; 'Status', , 'name' => 'status', , 'choices' => array(, 'public' => 'Public', , 'private' => ...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/smart-custom-fields_043846.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/smart-custom-fields/">Smart Custom Fields</a> 》Smart Custom Fields 是一個管理自訂欄位的簡單外掛。, 功能, , 支援自訂欄位群組迴圈。, 支援元資料修訂。, 支援元資料預覽。, , , 欄位類型, , 文字, 文字...。</li> <li><img decoding="async" src="https://ps.w.org/gallery-custom-links/assets/icon-256x256.png?rev=2588900" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/gallery-custom-links/">Gallery Custom Links</a> 》Gallery Custom Links 可讓您將相片連結到指定的 URL。已經過 WordPress 相片集、Gutenberg、Meow Gallery 等等的測試。官方網頁在這裡:Gallery Custom Link...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/scripts-n-styles_46515d.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/scripts-n-styles/">Scripts n Styles</a> 》這個外掛讓管理員用戶能夠將自訂的 CSS 和 JavaScript 直接添加到個別文章、頁面或任何註冊的自訂文章類型中,也可以將類別添加到 body 標籤和文章容器中。還...。</li> <li><img decoding="async" src="https://ps.w.org/ocean-custom-sidebar/assets/icon-256x256.png?rev=2670316" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/ocean-custom-sidebar/">Ocean Custom Sidebar</a> 》這個 WordPress 外掛可以生成無限數量的側邊欄,您可以把它們放置在想要的任何頁面上。前往主題面板 > 側邊欄以創建自定義側邊欄。, 此外掛需要安裝 Ocean...。</li> <li><img decoding="async" src="https://ps.w.org/lazy-blocks/assets/icon-256x256.png?rev=2584676" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/lazy-blocks/">Custom Block Builder – Lazy Blocks</a> 》WordPress 自訂區塊外掛程式, ★★★★★, 開發商使用於 WordPress 自訂區塊的魔法棒。我們創建了 Lazy Blocks WordPress 外掛程式,協助每位開發商取得他們需要的...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/wp-custom-body-class.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/wp-custom-body-class/">Custom Body Class</a> 》這個外掛程式可供您為頁面或文章添加獨特的 CSS 類別。, 範例, TasteWP 已經準備好一個快速的 WordPress 實例來展示此外掛程式,您可以在 此範例 中試用它。,...。</li> <li><img decoding="async" src="https://ps.w.org/woo-custom-stock-status/assets/icon-256x256.png?rev=2079305" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/woo-custom-stock-status/">Woo Custom Stock Status</a> 》此外掛可用於為每個 WooCommerce 產品或全域編寫自定義庫存狀態,並為每種狀態文字設置不同的顏色以便讓使用者在產品詳細頁面中確切知道庫存狀態名稱。, 您可...。</li> <li><img decoding="async" src="https://ps.w.org/smk-sidebar-generator/assets/icon-256x256.png?rev=2360552" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/smk-sidebar-generator/">SMK Sidebar Generator</a> 》這個外掛可以生成任意數量的側邊欄,然後讓你將它們放置在你想要的任何頁面。, , 特色:, , 無限數量的側邊欄。, 使用條件替換預設主題側邊欄,或全局替換只...。</li> <li><img decoding="async" src="https://s.w.org/plugins/geopattern-icon/pixtypes.svg" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/pixtypes/">PixTypes</a> 》, , 使用 PixTypes,您可以允許您的主題在啟用時定義自定義文章類型或元框。 , 注意:此外掛針對開發人員,如果沒有正確配置,它將不會執行任何操作。。</li> <li><img decoding="async" src="https://ps.w.org/meks-time-ago/assets/icon-256x256.png?rev=1522352" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/meks-time-ago/">Meks Time Ago</a> 》Meks Time Ago WordPress 外掛讓您可以輕鬆將文章日期顯示改為「多久以前」的格式,例如「1小時前」、「2週前」、「5個月前」、「4天前」等,同時提供多種選...。</li> <li><img decoding="async" src="https://ps.w.org/all-meta-tags/assets/icon-256x256.png?rev=1472588" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/all-meta-tags/">All Meta Tags</a> 》這是一款易於使用、界面直觀的 WordPress 外掛程式,可以讓您輕鬆而安全地在 WordPress 管理區中直接添加自訂 Meta 標籤,而無需使用外部編輯器。, , 此工具...。</li> <li><img decoding="async" src="https://ps.w.org/postpage-specific-custom-css/assets/icon-256x256.png?rev=1707637" style="background-size: contain!important; height: 96px!important;width: 96px!important;"> <a href="https://www.mxp.tw/plugins/postpage-specific-custom-css/">Post/Page specific custom CSS</a> 》「Post/Page specific custom CSS」外掛能讓你為特定的文章或頁面新增 CSS 樣式表,並在編輯文章/頁面的欄位中提供一個區域來貼上你的 CSS 代碼。您也可以決...。</li> </ul> <p><script>document.addEventListener("DOMContentLoaded", function(event) {window.onpopstate = function() {location.href="https://www.mxp.tw/plugins/";}; history.pushState({}, "");});</script></p> <p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-slot="9308222110"></ins> <script> setMxpAdClient();(adsbygoogle = window.adsbygoogle || []).push({}); </script></p>

文章
Filter
Apply Filters
Mastodon