
內容簡介
使用這個外掛程式可以更輕鬆地在 WordPress 中製作簡短代碼!您可以像 PHP include 一樣使用它來建立和複製內容。
概述
透過定義簡碼,這個外掛程式可以輕鬆地在不同網頁上複製冗余的資訊或資料。您可以使用任何類型的內容,例如文本、HTML 或 Javascript。
現在可以更輕鬆地重複使用內容,而不需要修改程式碼或在多個網頁上進行手動編輯。當您需要在多個網頁上顯示一個區塊的內容時,例如在特定頁面或不同文章上顯示相同的文本、放置可以被修改的說明區塊、聲明、等等,這個外掛程式就非常實用。基本上,您可以將任何內容複製和複製到多個網頁上,就像它是一個 PHP include 。如果您編輯了它,所有包含簡碼的網頁都會更新為新的內容。
它的運作方式非常簡單:
* 建立一個新的自訂文章類型,您可以像建立一般文章一樣建立內容。
* 為這個新建立的文章產生一個簡碼。
* 在其他網頁上寫下簡碼,已建立的內容將被顯示。
* 當編輯此文章時,所有包含簡碼的頁面將自動更新其內容。
* 您可以建立多個簡碼。
安裝說明
將 easy-shortcode-creator-by-wppug 資料夾上傳到 /wp-content/plugins/ 目錄中
在 WordPress 的「外掛程式」選單中啟用該外掛程式
從主選單中點擊 Easy Shortcode Creator 連結
點擊「建立新簡碼」,建立第一個可複製的內容並發佈。
複製生成的簡碼,並將其貼到另一個頁面或文章中以顯示內容。
外掛標籤
開發者團隊
② 後台搜尋「Easy Shortcode Creator by WpPug」→ 直接安裝(推薦)
原文外掛簡介
Creating shortcodes in WordPress has become much easier with this plugin! Use it to create and replicate content as if it were an PHP include.
Overview
This plugin allows you to easily replicate redudant information/data on different pages by defining them as shortcodes. You can use any type of content, like Text, HTML or Javascript.
It has now become easier to reuse content without having to edit code or manually editing on multiple pages. This plugin is useful when you need to display a block of content on several different pages, for example, display the same text on certain pages or different posts, put a block of instructions that can be modified, a disclaimer, etc. Basically any content you want to copy and replicate on multiple pages, as if it were a PHP include. If you edit it, all pages with the shortcode will be updated with the new content.
It works very simply:
* Create a new Custom Post Type, where you can create content as if it were a normal post.
* Generate a Shortcode for this new created post.
* When you write the shortcode on another page, the created content will be displayed.
* When this post is edited, content will be automatically updated on all pages with the shortcode.
* You can create as many shortcodes as you want.
Installation Instructions
Upload easy-shortcode-creator-by-wppug folder to the /wp-content/plugins/ directory
Activate the plugin through the ‘Plugins’ menu in WordPress
Click on the Easy Shortcode Creator link from the main menu
Click on “Create new Shortcode”, create your first replicable content and publish.
Copy the generated shortcode and paste it into another page or post to display the content.
