Recently, while writing a blog post I found that I am not able to update/publish any post on my WordPress website dashboard rather it redirects me to the website front page when I click the “Update” button. Now, I was unsure what’s creating this trouble and how to fix this 302 redirect when updating posts … continue reading →
Somedays back I noticed that when I type something into my browser it takes me to a different search engine called “searchguide.level3.com” which I don’t remember installing or set in the browser. I looked into my browser settings for anything suspicious but didn’t find any. Now, how to get rid of the “searchguide.level3.com” hack ? … continue reading →
You have a BuddyPress enabled Job site. Now you need display your resume in BuddyPress Profile. So here is a cool plugin for it. https://shop.opentuteplus.com/product/buddypress-my-resume/ It simply adds resume to your BuddyPress Profile. This plugin needs BuddyPress, WP Job Manager and WP Job Manager Resume to be installed.
Ultimate Member – EDD Integrates the popular e-commerce plugin Easy Digital Downloads with Ultimate Member. Key Features View Easily integrates users purchases tab in user profile You can display and view user orders from account page Now manage billing address from account page You allow user to have a specific role if they purchase a specific … continue reading →
In latest versions of Mac OS X, by default the postfix is set to send emails from your local machine to outside world. This might cause you troubles if you are developing applications on your local machine and your application has email sending functionality to customers. Unfortunately if you have some customers’ email addresses in … continue reading →
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 … continue reading →
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 … continue reading →
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" to update
downloading PHP_CodeSniffer-2.0.0.tgz ...
Starting to download PHP_CodeSniffer-2.0.0.tgz (448,559 bytes)
..........done: 448,559 bytes
ERROR: failed to mkdir C:\php\pear\tests\PHP_CodeSniffer\CodeSniffer\Core\File
Solution: I get into the “pear” directory and checked config values set for different … continue reading →
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 to open stream: No such file or directory in C:\xampp\php\pear\PHP\CodeSniffer.php on line 2166
Here are … continue reading →
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 … continue reading →