Skip to content

Luka Peharda

Web and Android developer. And a bit of a designer.

Boosting engagement

WordPress tip: Show posts without any category or even custom term

Recently I needed to show posts that weren’t in any of the categories (for my custom archive page). It is a very common problem that you encounter when adding new custom post types to WordPress. I came up with this little WordPress tip: [code lang=”php”] $postsWithoutCategories = new WP_Query(array( ‘post_type’ => ‘post’,… Read More »WordPress tip: Show posts without any category or even custom term

json loiane

Android JSON-RPC client and PHP Zend Framework server

XML-RPC rules, but the amount of data it generates is its big disadvantage. This is where JSON-RPC steps in. Data it generates is significally smaller, this isn’t suprising as JSON is known as fat free XML. In this article we will build JSON-RPC server using PHP and Zend Framework, will test this server with jQuery JSON-RPC client and then we’ll proceed to building Android JSON-RPC client. In the end I will give test results for XML-RPC and JSON-RPC.