Today I’m excited to introduce you WP Bones, a plugin framework for WordPress written with Composer. WP Bones providing a set of tools and rules to facilitate the WordPress plugin. Also, the aim of Bones is to be able to write a Plugin such as Laravel Framework application.
Category / WordPress
When you are using a Custom Post Type with its Custom Post Taxonomies, you could need to detect if a particular category is displayed in a post. So, I write a simple WordPress shortocode you can use to detect a particular category and then display the content of the post. To achieve that, you can add […]
Here you’ll find the list of actions run during a typical request by the frontend.
Here you’ll find the actions run during a typical request in the backend admin area.
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 […]
We have to use a little trick! In other words, we will remove the meta box and then we will add a new one again:
You can include a page/post content into a different page/post. For example, if you have a privacy disclaimer may be useful to load that content in a different context. This could be very useful when: Anyone can edit the page/post without edit the included content The loaded content works as standalone page/post as well The […]