My First WordPress.org Plugin: Tailored Easy Exclude

June 26, 2014

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 […]

Retrieve Attachment ID from Image URL

February 22, 2014

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

Add Menu Parent Class

February 21, 2014

If you want to detect which menu item has children, this snippet add a class to a menu item if it has children items.

Return Top Parent ID of Page/Post

February 19, 2014

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.

How to Use LESS Auto Compiler in Your Next WordPress Project (Quick Tip)

March 31, 2013

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.