Writing your first WordPress plugin

Writing our first WordPress plugin is the best thing we’ve done last year. Here are 2 quick tips for developers who’d also like to start the amazing journey. First, be familiar with the Actions and Filters in WordPress, the listed resources are worth reading: If you just read one book about WP development, read Professional …

Read moreWriting your first WordPress plugin

Select post parent from another post type in WordPress

Added 2016/02/05: There's a newer version of this post with very detailed steps to show you how to set the URL structure for this use case right.

This gist is kinda of my inspiration to create Completely Delete. Last year a client project need to cross reference 2 different post types. When I do some research on Google, a post from My Musings describe how to change the parent select options to posts from another post type. This is quite useful and a time saver for me.

After the cross reference work had been done, the client found another issue that when he trash or delete the parent post, the child posts won’t be trashed / deleted with it.

Few months later when I planed to develop my first plugin for the new business – 1Fix.io, I decided to fix this issue as a start point.

Completely Delete: Delete a post with all its children in WordPress

Have you ever wondered a quick way to delete all children while delete a post in WordPress? Completely Delete is the right plugin for you. Currently there are 3 types of child posts will be trashed or deleted with their parent posts, when using Completely Delete: Page (or any hierarchical custom post type) Attachment (Optional, you need to …

Read moreCompletely Delete: Delete a post with all its children in WordPress