[WordPress] 外掛分享: Easy Query – WP Query Builder

首頁外掛目錄 › Easy Query – WP Query Builder
WordPress 外掛 Easy Query – WP Query Builder 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
400+
安裝啟用
★★★★★
5/5 分(5 則評價)
2411 天前
最後更新
問題解決
WordPress 3.6+ v2.0.4 上架:2015-04-18

內容簡介

t = "

Easy Query 是一個最快速和最簡單的方式,可以構建和顯示 WordPress 查詢,而無需編寫任何代碼。

使用查詢生成器,通過調整查詢生成器中的各種參數,直觀地構建自定義的 easy_query 短碼和 WP_Query 代碼片段,基於網站內容。然後,只需將生成的短碼或 WP_Query() 直接放入您的佈景主題中的模板、內容編輯器或小工具區域中。

功能

查詢生成器 – 通過調整各種查詢參數,可以在幾秒鐘內創建您自己的 Easy Query 短碼。
查詢生成器 – 藉助查詢生成器中的參數,生成自定義 WP_Query。
可自定義模板 – Easy Query 可自定義模板,允許您匹配您網站的外觀和感覺。
分頁 – 只需在您的短碼中設置 paging=”true” 就可以輕鬆啟用 Easy Query 分頁。
多個實例 – 在頁面、文章或頁面模板上包括多個 Easy Query 實例。
節省時間,減少失望 – 停止在 WP Docs 中搜尋,使用查詢生成器直觀地構建查詢。

想要更多?

升級到 Easy Query Pro 可解鎖插件的增強功能和功能。

無限模板

按照需要創建、修改和刪除 Easy Query 模板,沒有限制。

保存的查詢

使用自定義查詢編輯器保存、編輯和刪除過去的查詢。

響應式佈局

一個完全響應式佈局模板庫,可隨時在您的網站上使用。

分頁樣式

從額外的分頁樣式和顏色中選擇。

額外的查詢參數

解鎖額外的查詢參數,如分類和自定義字段。

多站點兼容性

在您的網絡中安裝和管理 Easy Query 模板和查詢。

了解更多

短碼參數

Easy Query 接受許多參數,通過短碼傳遞到 WordPress 查詢。

container – 選擇將包裝 Easy Query 模板的 HTML 容器的類型。默認值 = < ul >
classes – 通過向容器添加自定義類來定位您的內容。默認值 = null
template – 選擇要使用的模板。默認值 = ‘default’
post_type – 帖子類型的用逗號分隔列表。默認值 = ‘post’
category__in – 包含的類別的 ID 的用逗號分隔列表。默認值 = null
category__not_in – 要排除的類別 ID 的用逗號分隔列表。默認值 = null
tag__in – 包含的標籤的 ID 的用逗號分隔列表。默認值 = null
tag__not_in – 要排除的標籤 ID 的用逗號分隔列表。默認值 = null
day – 一周的某個日子。默認值 = null
month – 年份的某個月。默認值 = nul

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Easy Query – WP Query Builder」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Easy Query is the fastest and simplest way to build and display WordPress queries without writing a single line of code.
Visually build a custom easy_query shortcode and WP_Query code snippet based on the content of your website by adjusting various parameters in the Query Builder. Then simply place the generated shortcode or WP_Query() directly into a template, content editor or widget area of your theme.
Features

Query Builder – Create your own Easy Query shortcode in seconds by adjusting the various query parameters.
Query Generator – Generate a custom WP_Query by adjusting parameters in the Query Builder.
Customizable Template – The Easy Query customizable template allows you to match the look and feel of your website.
Paging – Easily enable Easy Query paging by setting paging=”true” in your shortcode.
Multiple Instances – Include multiple instances of Easy Query on a page, post or page template.
Save Time and Reduce Frustration – Stop searching the WP Docs and build a query visually using the Query Builder.

Want More?
Upgrading to Easy Query Pro unlocks added features and functionality of the plugin.
Unlimited Templates
Create, modify and delete Easy Query templates as you need them with zero restrictions.
Saved Queries
Save, edit and delete past queries using the custom query editor.
Responsive Layouts
A library of fully responsive layout templates ready for use on your website.
Paging Styles
Select from additional pagination styles and colors.
Additional Query Arguments
Unlock additional query parameters such a taxonomy and custom fields.
Multisite Compatibility
Install and manage Easy Query templates and queries across multiple sites in your network.
Learn more

Shortcode Parameters
Easy Query accepts a number of parameters that are passed to the WordPress query via shortcode.

container – Select the type of HTML container that will wrap your Easy Query templates. Default = < ul >
classes – Target your content by adding custom classes to the container. Default = null
template – Select which template you would like to use. Default = ‘default’
post_type – Comma separated list of post types. Default = ‘post’
category__in – A comma separated list of categories to include by ID. Default = null
category__not_in – A comma separated list of categories to exclude by ID. Default = null
tag__in – A comma separated list of tags to include by ID. Default = null
tag__not_in – A comma separated list of tags to exclude by ID. Default = null
day – Day of the week. Default = null
month – Month of the year. Default = null
year – Year of post. Default = null
author – Query by author id. Default = null
search – Query search term (‘s’). Default = null
post__in – Comma separated list of post ID’s to include in query. Default = null
post__not_in – Comma separated list of post ID’s to exclude from query. Default = null
post_status – Select status of the post. Default = ‘publish’
order – Display posts in ASC(ascending) or DESC(descending) order. Default = ‘DESC’
orderby – Order posts by date, title, name, menu order, random, author, post ID or comment count. Default = ‘date’
offset – Offset the initial query (number). Default = ’0′
posts_per_page – Number of posts to load with each Ajax request. Default = ’6′
paging – Enable Easy Query to page the results. Default = ’true′

Example Shortcode
[easy_query type="ul" classes="blog-listing entry-list" template="default" posts_per_page="6" post_type="post, portfolio"]

Demos

Default – Out of the box functionality and styling
Multiple Instances – Include multiple Easy Query instances on a single page
Owl Carousel – Creating a responsive jQuery carousel with Owl Carousel

Tested Browsers

Firefox (Mac, PC)
Chrome (Mac, PC, iOS, Android)
Safari (Mac, iOS)
IE8+
Android (Native)
BB10 (Native)

Official Website
https://connekthq.com/easy-query/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon