[WordPress] 外掛分享: Essential Content Types

首頁外掛目錄 › Essential Content Types
WordPress 外掛 Essential Content Types 的封面圖片
20,000+
安裝啟用
★★★☆☆
3/5 分(2 則評價)
308 天前
最後更新
問題解決
WordPress 5.9+ v2.3 上架:2017-04-19

內容簡介

Essential Content Types 是一個 WordPress 外掛程式,讓您可以在您的網站上以不同的內容/文章類型展示出優秀的內容。這些內容/文章類型可能會被 WordPress 主題目錄中的主題所忽略,因為這個功能更偏向於外掛程式的範疇。

內容是任何網站的重點。改變您重要內容的版面配置,會改變您的網站外觀,這可能並不是一個好處,特別是如果您的目前網站版面配置受到使用者的愛戴。

此外,更換主題會完全改變您的網站版面配置。因此,為了使您的網站保持整潔,我們為您帶來 Essential Content。

Essential Content 讓您最多可以新增三種內容/文章類型:

* 投影片集 – 創建並展示您的投影片集在您的網站上。
* 好評 – 在您的網站上新增客戶的好評。
* 特色內容 – 在您的網站上展示您想要展示為特色內容,以吸引訪客的注意力。
* 服務 – 在您的網站上新增您的服務。

Essential Content 的特色:

* 可根據需求啟用/停用任何內容/文章類型。
* 輕量化。
* 支援在 WordPress 上的所有主題。

Essential Content 的靈感來自 Jetpack 的自訂內容類型功能。

然而,並非每個人都希望擁有一個「無所不能」的外掛程式。有些人可能希望外掛程式專注某些特定的領域。

這正是我們在 Essential Content 中所做的。正如其名,Essential Content 只有最必要的元素。我們添加了 WordPress 使用者使用最多的功能。我們刪除了所有其他元素,使其保持簡潔。它佔用較少的空間,並能夠勝任其工作。

如果您認為我們漏掉了任何必要的內容/文章類型,請讓我們知道。我們將審查使用頻率並添加您的建議。

投影片集短代碼

您可以使用短代碼在文章和頁面中嵌入投影片集。

嵌入投影片集

要在文章和頁面中嵌入投影片集,首先啟用您的網站上的投影片集自訂內容類型,然後新增一些投影片集。

接下來,在文章或頁面中添加[portfolio] 短代碼。短代碼將根據您使用選用屬性來自定義投影片集版面配置,顯示不同類型的投影片集。

屬性

* display_types: 是否顯示投影片集類型。 (true/false)
* display_tags: 是否顯示投影片集標籤。 (true/false)
* display_content: 是否顯示投影片集內容。 (true/false)
* include_type: 顯示特定投影片集類型。預設為全部。 (逗號分隔的投影片集類型別名列表)
* include_tag: 顯示特定投影片集標籤。預設為全部。 (逗號分隔的投影片集標籤別名列表)
* columns: 短代碼中的欄位數。預設為 2 列。 (數字,1-6)
* showposts: 要顯示的投影片集數目。預設為全部。 (數字)
* order: 按照升序或降序顯示投影片集。預設為 ASC,以升序排序,但您可以使用 DESC 反轉順序,以便以降序顯示投影片集。(ASC/DESC)
* orderby: 按照不同標準對投影片集進行排序,包括作者名稱、投影片集標題,甚至是 rand,以隨機順序顯示。預設按日期排序。(作者、日期、標題、rand)

範例

[portfolio display_types="true" display_tags="false" include_type="grooming-tips,best-kitties" columns="2" showposts="10" orderby="title"]

這個示例會在兩列中顯示多達10個投影片集,按照投影片集標題的字母順序,按正序排列,它將顯示這些投影片集類型,隱藏項目。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Essential Content Types」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Essential Content Types allows you to feature the impressive content through different content/post types on your website just the way you want it. These content/post types are missed by the themes in WordPress Theme Directory as the feature falls more towards the plugins’ territory.
Content is at the forefront of any website. Changing the layout of your important content changes the way your website looks, which may not be a plus point if your current website layout is loved by your users.
Additionally, switching themes changes your website layout completely. Therefore, to keep things looking spic-and- span in your website, we bring you Essential Content.
Essential Content allows you to add up to three content/post types:
* Portfolio – Create and display your portfolio on your website
* Testimonials – Add customer testimonials to your website
* Featured Content – Display the content you want as featured content on your website to attract visitors’ attention
* Services – Add your services on your website
Features of Essential Content:
* Enable/Disable any content/post type as needed
* Light-weight
* Supports all themes on WordPress
Essential Content is inspired by Jetpack’s Custom Content Types feature.
However, not everyone wants to have a plugin that “does-it- all”. Some may want plugins to be niche focused and concentrate on smaller areas.
That is precisely what we have done with Essential Content. Essential content, true to its name, has only the essential elements. We have added the features that WordPressers use most. We have ruled out all other elements to make it non-bloated and clean. It takes up lesser space and does the job well.
If you think we have missed any essential content/post types, please let us know. We’ll review the frequency of usage and add your suggestions.
Portfolio Shortcode
You can use shortcodes to embed portfolio projects on posts and pages.
Embedding Portfolio Projects
To embed portfolio projects on posts and pages, first activate the Portfolio custom content type on your site and add some projects to your portfolio.
Next, add the [portfolio] shortcode to a post or page. The shortcode will display projects in different ways, depending on how you use the optional attributes to customize the portfolio layout.
Attributes
* display_types: display Project Types. (true/false)
* display_tags: display Project Tags. (true/false)
* display_content: display project content. (true/false)
* include_type: display specific Project Types. Defaults to all. (comma-separated list of Project Type slugs)
* include_tag: display specific Project Tags. Defaults to all. (comma-separated list of Project Tag slugs)
* columns: number of columns in shortcode. Defaults to 2. (number, 1-6)
* showposts: number of projects to display. Defaults to all. (number)
* order: display projects in ascending or descending order. Defaults to ASC for sorting in ascending order, but you can reverse the order by using DESC to display projects in descending order instead. (ASC/DESC)
* orderby: sort projects by different criteria, including author name, project title, and even rand to display in a random order. Defaults to sorting by date. (author, date, title, rand)
Example
[portfolio display_types="true" display_tags="false" include_type="grooming-tips,best-kitties" columns="2" showposts="10" orderby="title"]

The example will display up to ten portfolio projects in two columns, in ascending alphabetical order by project title. It will display Project Types, hide Project Tags, and only display projects that are assigned the “Grooming Tips” or “Best Kitties” Project Types.
Featured Content Shortcode
You can use shortcodes to embed featured content on posts and pages.
Embedding Featured Content Projects
To embed featured content on posts and pages, first activate the Featured Content content type on your site and add some projects to your featured content.
Next, add the [featured_content] shortcode to a post or page. The shortcode will display projects in different ways, depending on how you use the optional attributes to customize the featured content layout.
Attributes
* display_types: display Content Types. (true/false)
* display_tags: display Content Tags. (true/false)
* display_content: display project content. (true/false)
* include_type: display specific Content Types. Defaults to all. (comma-separated list of Content Type slugs)
* include_tag: display specific Content Tags. Defaults to all. (comma-separated list of Content Tag slugs)
* columns: number of columns in shortcode. Defaults to 2. (number, 1-6)
* showposts: number of projects to display. Defaults to all. (number)
* order: display projects in ascending or descending order. Defaults to ASC for sorting in ascending order, but you can reverse the order by using DESC to display projects in descending order instead. (ASC/DESC)
* orderby: sort projects by different criteria, including author name, project title, and even rand to display in a random order. Defaults to sorting by date. (author, date, title, rand)
Example
[featured_content display_types="true" display_tags="false" include_type="grooming-tips,best-kitties" columns="2" showposts="10" orderby="title"]

The example will display up to ten featured content in two columns, in ascending alphabetical order by project title. It will display Content Types, hide Content Tags, and only display projects that are assigned the “Grooming Tips” or “Best Kitties” Content Types.
Testimonials Shortcode
You can use shortcodes to embed testimonials on posts and pages.
Embedding Testimonials
To embed testimonials on posts and pages, first activate the Testimonial custom content type on your site and add some testimonials.
Next, add the [testimonials] shortcode to a post or page. The shortcode will display testimonials in different ways, depending on how you use the optional attributes to customize the testimonials layout.
Attributes
* display_content: display testimonial content. (full/true/false)
* image: display the featured image. (true/false) Defaults to true.
* columns: number of columns in shortcode. Defaults to 1. (number, 1-6)
* showposts: number of testimonials to display. Defaults to all. (number)
* order: display testimonials in ascending or descending chronological order. Defaults to ASC for sorting in ascending order, but you can reverse the order by using DESC to display testimonials in descending order instead. (ASC/DESC)
* orderby: sort testimonials by different criteria, including author name, testimonial title, and even rand to display in a random order. Defaults to sorting by date. (author, date, title, rand)
Example
[testimonials columns="2" showposts="10" orderby="title"]

The example will display up to ten testimonials in two columns, in ascending alphabetical order by testimonial title.
Service Shortcode
You can use shortcodes to embed service on posts and pages.
Embedding Service Projects
To embed service on posts and pages, first activate the Service content type on your site and add some projects to your Service.
Next, add the [services] shortcode to a post or page. The shortcode will display projects in different ways, depending on how you use the optional attributes to customize the featured content layout.
Attributes
* display_types: display Content Types. (true/false)
* display_tags: display Content Tags. (true/false)
* display_content: display project content. (true/false)
* include_type: display specific Content Types. Defaults to all. (comma-separated list of Content Type slugs)
* include_tag: display specific Content Tags. Defaults to all. (comma-separated list of Content Tag slugs)
* columns: number of columns in shortcode. Defaults to 2. (number, 1-6)
* showposts: number of projects to display. Defaults to all. (number)
* order: display projects in ascending or descending order. Defaults to ASC for sorting in ascending order, but you can reverse the order by using DESC to display projects in descending order instead. (ASC/DESC)
* orderby: sort projects by different criteria, including author name, project title, and even rand to display in a random order. Defaults to sorting by date. (author, date, title, rand)
Example
[services display_types="true" display_tags="false" include_type="grooming-tips,best-kitties" columns="2" showposts="10" orderby="title"]

The example will display up to ten featured content in two columns, in ascending alphabetical order by project title. It will display Content Types, hide Content Tags, and only display projects that are assigned the “Grooming Tips” or “Best Kitties” Content Types.
Food Menu Shortcode
You can use shortcodes to embed Food Menu on posts and pages.
Embedding Food Menu
Embedding Food Menu
To embed food menus on posts and pages, first activate the Food Menu custom content type on your site and add some food menus.
Next, add the [food_menu] shortcode to a post or page. The shortcode will display food menu in the selected post or page.
Attributes
* showposts: number of menu items to display. Defaults to all. (number)
* include_type: display specific Content Types. Defaults to all. (comma-separated list of Content Type slugs)
* include_tag: display specific Content Tags. Defaults to all. (comma-separated list of Content Tag slugs)
Example
[food_menu showposts="10" include_type="pizza,burger,breakfast"]

The example will display up to ten menu items. It will only display menu items in “Pizza”, “Burger” or “Breakfast” sections.
Translations
To translate the plugin, use translate.wordpress.org (GlotPress). You only need your WordPress.org account to join the collaborative translation project.
You can translate Essential Widgets on translate.wordpress.org.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon