Hot Topics

Magento – Database Queries

Magento is a complete and awesome MVC application. It’s fully moduler and easy to extend its features and functionality. All…..

WordPress – view the current processed query

To view the currently processing query. It will be very helpful for debugging purposes. It can be used inside functions.php or in the templates itself.

This code will show the processed query.
<?php
global $wp_query;
echo $wp_query->request;
//now this will show the query
?>