Easiest but powerful encryption in PHP

Safety concept: Opened Padlock on digital background

For a secured system, most of the data is encrypted in server end and sent to database. And after fetching the data from database, just decrypt before showing in front end. There are lots of procedure to encrypt the data, lots of encryption algorithm out there. But, here we will use a simple encryption method… Continue reading Easiest but powerful encryption in PHP

How to apply coupon automatically on WPMU membership2 checkout

Membership 2 is an awesome plugin to sell your content. That being said, you can charge your members to see your site content. If you want to give discount, you can use Coupon addon. You have to enable from Membership 2 > Addons and then you can create coupons and share with your users. Today… Continue reading How to apply coupon automatically on WPMU membership2 checkout

Assign a membership to a registered member automatically – Membership 2 (WPMU)

WPMU DEV has released the new revamped version for membership plugin, called Membership 2. The layout and interface is awesome of the plugin and I am personally impressed. There is a new type of membership introduced in the plugin – Default Membership. This membership will work for the user who are just registered but didn’t… Continue reading Assign a membership to a registered member automatically – Membership 2 (WPMU)

Defer parsing of javascript to improve performance in wordpress

Nothing for introduction, hehe! A very small snippet which will help you to defer parsing all javascript files except jquery in wordpress. Here is the code: https://gist.github.com/bappi-d-great/2a67ff307db672d4566b You can add those codes in your functions.php in the theme, if you think your theme won’t be changed. Otherwise mu-plugins is the best solution. To use mu-plugins,… Continue reading Defer parsing of javascript to improve performance in wordpress

Why you shouldn’t use one click installer to install wordpress

Yes, you will fall at the mid-ocean, trust me! Well, most of the bloggers just maintain a simple blog so usually they don’t need to worry. They just need to keep a regular backup. But if you are planning to run a business site in wordpress and if that site is your everything, never ever… Continue reading Why you shouldn’t use one click installer to install wordpress

How to convert hexadecimal color value to RGB value in php

Most of the CMS provides a color picker in admin panel to user to choose a color. And almost all of the color pickers return the color code as hexadecimal mode, e.g. #4EE4D3. So, you can just get the value and set the color in css. For example: [php] body{ background: } [/php] This is… Continue reading How to convert hexadecimal color value to RGB value in php