Creating an attractive website easily

WordPress is an online, open source website creation tool written in PHP. It’s probably the easiest and most powerful blogging and website content management system (or CMS) in existence today. The dashboard (admin panel) is very flexible and easy to use. Options like Hooks and Filters makes it even more flexible and customization becomes even more easier from code level. Below are the simple steps to create an attractive website using WordPress: Step 1: Domain

Continue Reading

Integrating Himalayan Bank Payment Gateway

This is a payment gateway integration technique of Himalayan Bank Limited in your eCommerce sites. I successfully integrated it some days ago and I am sharing how I was able to do it. The bank said its E-commerce Payment Gateway has been enhanced to include domestic cardholders in partnership with 2C2P Thailand, one of the most renowned E-Commerce payment service providers in Asia Pacific. Before integrating, get your valid Merchant Id and Secret Key from

Continue Reading
How to register multiple custom post types with minimal coding (via loop) ?

How to register multiple custom post types with minimal coding (via loop) ?

According codex.wordpress.org, “Custom post types are new post types you can create. A custom post type can be added to WordPress via the register_post_type() function. This function allows you to define a new post type by its labels, supported features, availability and other specifics.” Generally, custom post types as mentioned above can be created via the register_post_type() function as shown in the codex. But sometimes, we need to create number of custom post types especially

Continue Reading

Submitting Plugin to WordPress.org

Submitting plugin to wordpress.org repository is a cautious as well as watchful process. Before submitting, one must have readme.txt and license (GPL 2 or later) in the plugin folder. The plugin folder structure depends upon the coding style of the developer so it can be of different type. But, an important thing to note is that there must be the two files: readme.txt and license.txt. A standard readme.txt file can be seen in: https://wordpress.org/plugins/about/readme.txt. Before

Continue Reading

How to remove an action added by plugin from theme?

As we all know, flexibility and customization is possible in WordPress because of action and filter. We can add as many actions and filters and remove them as well. Lets take a look how we can remove an action from theme that is added via plugin. Lets say, we have a class Wte_Paypal_Gateway: class Wte_Paypal_Gateway This class has a global object instance called $plugin_public. global $plugin_public; An action wte_paypal_submit_btn is hooked in a tag called

Continue Reading