One of my developer friend asked me if we could sort by last post using wp_list_categories function for WordPress. By default, wp_list_categories accept arguments for order by ID, name, slug, count or term_group. Order by latest post is not possible by default, but with a little of tweak using filter hook, we can. 🙂
First, we’ll looking at the function wp_list_categories. This function made call to get_categories to get the list of categories, which made another call to get_terms. Categories in WordPress is basically terms with category taxonomy. Finally, looking on the get_terms function, we will find some delicious filter hook that suitable for our customization.
Ok guys, this is my new application source. If you haven’t know this, please take a look on my website. This application will be useful to organizing your menu faster and easier.
This is my first time creating a C++ and QT application. Therefore, sorry if the code is a bit messy. This application is created using SDK by blackhawk with E2 header files taken from lasly’s SDK. Lately, I got header files from arctu, but it doesn’t make differences whether it compiled using any of these SDK.
Here is some hello world example for anyone who interested to develop a native application for ROKR E2. All of the example is very simple and easy to understand as long as you have basic C++ and QT. You can use SDK from lasly or blackhawk, both is working for these application. If you haven’t had cross compiler, then read first here.
The first example is a message dialog like below.