Let’s say you are using the simple stateless component below:
Category / Development

Actions and filters are so awesome in WordPress. They provide a very simple and powerful way to customization the WordPress core. So, Plugins and themes can execute code before or after a specified event or change the result of many core functions. On the web, I found a few discussion about the Javascript porting of […]

Edit your wp-config.php file, located in WordPress root folder, and add or replace define(‘WP_DEBUG’, true); In this way, WordPress will print the logs on the screen. This may be very annoying, so you would like to redirect all logs in a file. As usual, please don’t hesitate to leave any questions or comments in the […]

MySQL provides a very simple method to select rows in random order. It uses the ORDER BY RAND()statement. If you will be used theORDER BY RAND() statement, MySQL will create a temporary table with all results, then will be assigned a random index to each row and finally will return the random rows! This makes the […]