Improving UX in the WordPress Admin Panel with Interactive Meta Boxes

Our goal is simple today, we want to add interactivity to our boring metaboxes. Instead of showing lots and lots of irrelevant input boxes at once, we will properly group them into different metaboxe containers and then display the required one based on the action of another one. We will create a custom post called … Continue reading Improving UX in the WordPress Admin Panel with Interactive Meta Boxes

Limit number of posts an user can create in WordPress admin panel

If you, by any chance, want to limit the number of posts an user can create in your multi author WordPress blog, there is a nice way to do it. Add the following code in your theme’s functions.php file [sourcecode language=”php”] add_action("load-post-new.php","limit_user_by_post_count"); function limit_user_by_post_count(){ $user = get_current_user_id(); if (!current_user_can( ‘manage_options’)) { //not an admin – … Continue reading Limit number of posts an user can create in WordPress admin panel

Launching of WPonFIRE, the premier managed WordPress hosting for everyone

Today me and my partner Patrick have launched WPonFIRE, our WordPress based startup. If you are struggling with the performance of your wordpress blog, or spending too much because of some vague pageview based pricing model of your current provider – you may want to host with us. We will host your wordpress blog in … Continue reading Launching of WPonFIRE, the premier managed WordPress hosting for everyone

problems uploading large files in php5-fpm and nginx – and solution to that

Today I had encountered a strange error while importing a 10MB XML file in a low end vps, where nginx was configured with php5-fpm and was working pretty nicely. But then, whenever I tried to import that file, after 25% upload the connection drops and page goes blank. It was strange and drove me nuts … Continue reading problems uploading large files in php5-fpm and nginx – and solution to that

Displaying comments template when serving a single post via ajax in wordpress

I ran into this issue this morning, the comment form wasn’t showing up. I was using a custom comment template and I thought that there might be some issue with the custom template. So I tried with default template but the result was same. After googling for a while, I’ve found the workaround. Here is … Continue reading Displaying comments template when serving a single post via ajax in wordpress

Saving a HUGE bandwidth cost in WordPress by automatically serving media contents from copy.com

shutterstock_132384233
The title almost says it all. Our mission is to save the bandwidth cost (and ensure better deliverability) by leveraging the power of headless installation of copy.com client in Linux, and then integrating it into WordPress. The integration must work seamlessly so that the viewers don’t see a difference, and at the same time you don’t have to put any extra effort. Beside saving bandwidth, this also reduces extra load from your web server. There’s another surprise which I will tell you later. For now, keep reading 🙂

You need at least a VPS to make this setup working, preferably with root access. These days VPSes are cheap. You can purchase an 128MB VPS for ~14/yr from Ramnode (such a fantastic provider) or may be for ~19/yr from WeLoveServers. Or feel free to use your existing VPSes if you have one.

Step 1: Headless installation of copy.com app
You can use your existing copy.com or register a new one using my referral code http://copy.com?r=Tbcrni, you and I both will be getting an extra 5GB if you do so.

Now log into your linux box via SSH, you need to have root privilege to complete this step.
Continue reading “Saving a HUGE bandwidth cost in WordPress by automatically serving media contents from copy.com”

Get Robo for Free – Onepage Application Landing Template for WordPress

Robo is a  small onepage template which is perfect to design a landing page, coming soon or even a small site. Though it’s one page, Robo includes custom post types like sliders, team members, features and google maps. You can showcase your work nicely with Robo. Robo for WordPress comes with beautiful documentation and includes … Continue reading Get Robo for Free – Onepage Application Landing Template for WordPress

WordPress 3.5 Bangla Book

This Book will be written by some Good People in a Collaborative Effort. Idea and work-flow We will write a good book on wordpress together, in Bangla, to help the developers and enthusiasts start their journey in developing beautiful themes, plugins and applications completely using wordpress To keep the flow and tone of writing equally … Continue reading WordPress 3.5 Bangla Book