AuthorLuka Peharda

WordPress issue: menu disappeared after saving

W

Recently I’ve ran into a serious pickle – WordPress menu disappeared on me after adding new items and clicking on “Save menu” button. Naturally, I’ve tried increasing “max_input_vars” cause WordPress is known to be messing up menus with large items (menu in question had 89 items). But this didn’t help. So, I’ve started debugging and found out...

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

W

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: Let me explain what is going on. We are creating new WP_Query object and passing into its constructor several params (as array). First one is post_type...

Android JSON-RPC client and PHP Zend Framework server

A

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...

Tags