Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

WP Query Console

Описание

Disclaimer: Plugin development is in progress & we are constantly improving the code. If you think code can be improved or have any suggestion feel free to send a PR or open an issue.

Handy tool for developers to quickly test various WordPress queries (WP_Query, WP_User_Query, WP_Comment_Query, WP_Term_Query, WP_Network_Query, WP_Site_Query). Simply provide your arguments array and select the query type you would like to test. You will get the result as a collapsible tree.

Usage

  • Simply activate and new menu option «Query Console» will be added
  • Enter you query arguments array in editor provided, select query type from dropdown & hit execute
  • Check the result displayed

Roadmap

  • More info about query for debugging
  • Code refactoring and improvement
  • UI for arguments
  • Saving queries
  • Localization

If you have any suggestions/Feature request that you would like to see in the upcoming releases , feel free to let us know in the issues section

Скриншоты

  • Plugin in action

Установка

From your WordPress dashboard
1. Visit ‘Plugins > Add New’
2. Search for WP Query Console or upload zip file
3. Activate WP Query Console from your Plugins page

Manual Installation
1. Download «WP Query Console».
2. Upload the wp-query-console directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
3. Activate WP Query Console from your Plugins page.

Часто задаваемые вопросы

Installation Instructions

From your WordPress dashboard
1. Visit ‘Plugins > Add New’
2. Search for WP Query Console or upload zip file
3. Activate WP Query Console from your Plugins page

Manual Installation
1. Download «WP Query Console».
2. Upload the wp-query-console directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
3. Activate WP Query Console from your Plugins page.

Отзывы

09.08.2023
This plugin hasn't been maintained in some time. You are likely to generate this error in your debug log: :  Function register_rest_route was called <strong>incorrectly</strong>. The REST API route definition for <code>wqc/v1/query</code> is missing the required <code>permission_callback</code> argument. For REST API routes that are intended to be public, use <code>__return_true</code> as the permission callback. This error goes away after de-activating the plugin.
22.03.2019 1 ответ
I tested this plugin with a couple of queries and worked great. Please keep it updated.
Посмотреть 1 отзыв

Участники и разработчики

«WP Query Console» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «WP Query Console» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

v1.0

Released on 16th March 2018

  • Complete rewrite using React [ Gutenberg Effect 😉 ]

v0.1

Released on 19th March 2017

  • Initial plugin release