I created a plugin for a project, but I decided to release it on WordPress.org. Tailored Easy Exclude is pretty simple and allows you to exclude pages or posts from WordPress administration post/page listing. It also works with custom post types. Pages or posts can be excluded per user role what can be very useful […]
What if you only have image URL, but you need attachment ID or different size of image? WordPress by default don’t have a function for retrieve attachment ID from Image URL, but with a few lines of code you can solve it
If you want to detect which menu item has children, this snippet add a class to a menu item if it has children items.
When you work with pages (or posts), sometimes you want to find a top parent ID of a current page or post. This can be useful, for example, if you want to show sub navigation in sidebar.
LESS is a dynamic stylesheet language designed by Alexis Sellier, it is awesome for extending CSS and for using features like variables, mathematical operations, mixins and a lot more. These tools are invaluable to developers who appreciate the benefits of typing less while accomplishing more.