Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

WP Query Console

Skildring

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

Skjermbilete

  • Plugin in action

Installasjon

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.

Vanlege spm.

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.

Omtalar

9. august 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. mars 2019 1 reply
I tested this plugin with a couple of queries and worked great. Please keep it updated.
Les 1 omtale

Bidragsytarar og utviklarar

“WP Query Console” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

v1.0

Released on 16th March 2018

  • Complete rewrite using React [ Gutenberg Effect 😉 ]

v0.1

Released on 19th March 2017

  • Initial plugin release