Subh’s playground for WordPress sports.. !!

  • How to create Social Job Portal like Linkedin using WordPress ? [Solved]

    You need a site like Linkedin? Well there you can find a lot of Job Sites, But why Linkedin is different ? Because It is Social. In WordPress, creating a job board is much cheaper and easier to get up and running. Here is one of the most popular plugin “WP Job Manager“. But It lacks social features. Well…

  • How to pass dynamic values from PHP to CSS/JS in WordPress

    There are situations when you have to use some values stored in DB or values being calculated in PHP script based upon different conditions in the java-script and css code. This can be achieved by writing the inline js/css code directly inside the php script. But in WordPress, this can be done very easily with…

  • ERROR: failed to mkdir C:\php\pear\tests\PHP_CodeSniffer\CodeSniffer\Core\File [Solved]

    If your PHP installation has been done somewhere else other than the C:\ drive, then “pear install” command may throw errors. Example: Here in my case, the xampp has been installed into E:\ drive and the “pear install” throws error. E:\xampp\php>pear install PHP_CodeSniffer WARNING: channel “pear.php.net” has updated its protocols, use “pear channel-upd ate pear.php.net”…

  • Setup PHP CodeSniffer along with WordPress Coding Standards [ Windows, XAMPP ]

    Setup PHP CodeSniffer along with WordPress Coding Standards [ Windows, XAMPP ]

    The other day, I had some problem setting up latest WordPress coding standard for PHP CodeSniffer on a Windows machine. It was throwing some errors/warnings like the below. There were some others, but eventually we had fixed some of those. However the WP coding standards were not getting listed in phpcs. 🙁 Warning: file_put_contents(C:\php\pear\data/PHP_CodeSniffer/CodeSniffer.conf): failed…

  • How to install Xdebug and Webgrind on Mac OS X – [everything from terminal]

    How to install Xdebug and Webgrind on Mac OS X – [everything from terminal]

    Recently, I have been asked to help install and setup XDebug along with Webgrind in a Mac OS X system using SSH on one of my colleague’s system. All of this setup were done remotely from another system. Here are the steps/commands for achieving the same. Steps for installing Xdebug: Get the information about installed…

  • Selectively disable plugins on WordPress for a specific request

    Selectively disable plugins on WordPress for a specific request

    For last few days, I have been working on a WordPress project where I am creating a set of APIs to be consumed by mobile apps. While writing these REST APIs I have tried to make the things work faster. While checking the REQUEST/RESPONSE time, I found that the WordPress initialization is taking much time…

  • How to compare files on Mac OS X

    Questions those come into mind when someone switches from Windows to Mac OS X for web development and wants to compare files: Which editor has support for file diff or file compare functionalities on Mac OS X ? Which is the best tool for file comparison while developing on Mac OS X ? How to…

  • How to integrate DiffMerge with Sublime Text for comparing files

    How to integrate DiffMerge with Sublime Text for comparing files

    The other day, I was searching for some ways to compare two files(one from production and another from the local development of the same file) in Sublime Text. I found that there is no default tool to compare two files, thats why I installed “FileDiffs“, a package which provides the above needed functionality. What this…

  • List of useful tools for WordPress development

    List of useful tools for WordPress development

    When a developer starts WordPress development and tries to make the process easier and faster, generally he searches for best tools and various boiler plates which can alleviate the manual task of starting the development from scratch. WordPress Gear (WPgear.org) is a website which lists out lots of useful tools those are free and GPL(OpenSource).…

  • Get your website on https and get ranked higher on Google

    Get your website on https and get ranked higher on Google

    In a recent blog, Google has announced that TLS, SSL enabled websites(https://) will be getting added advantages in SEO ranking. In order to make the Internet more safe and secure, Google has started using HTTPS as a ranking signal, that means if you site is HTTPS enabled you will get ranked higher. However they have…

Got any recommendations?