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
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...
WordPress tip: Catching callbacks in admin
Useful WordPress hook that allows you to catch callbacks in WordPress admin.
Creating simple tasks app with Backbone.js and Slim micro framework (part 2)
This is a second part of a Backbone.js and Slim framework. In the first part of the tutorial we’ve dealt with creating server side (using Slim) and now we’ll get started with client side (Backbone.js part of the story).
Creating simple tasks app with Backbone.js and Slim micro framework (part 1)
In this series of articles I’ll create simple task management web application based on Backbone.js. To save data and persist it to database I’ll use Slim PHP micro RESTful server.
jQuery Mobile – creating custom themes and designs without the need for overriding
A neat trick on how to use jQuery Mobile style sheet and make custom designs without the need to override everything.
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...
How to build PHP XML-RPC Server, Client and Android application
In this article will show how to build PHP XML RPC server and how to consume provided services with PHP and an Android application as a client. PHP side of things will be built on top of Zend Framework and for Android will be using very thin XML RPC library android-xmlrpc.