Tag: Wordpress

26
Oct

Load Woocommerce Loop With Custom Arguments

Woocommerce comes with many default shortcode that generally used in e-commerce website. Some of my project required different arguments to be passed on to woocommerce product query. I need to change the woocommerce shortcode behaviour to meet my project needs. I want to display sale products but with offset options. So I create another custom shortcode to add the offset

Read more

24
Oct

Woocommerce: Replace “Sale” with Percentage Discount

Woocommerce is a very powerful e-commerce plugins f0r WordPress. It integrate seamlessly with many plugins, payment gateway, shipping courier, and many more. Sometimes to make the customer of the e-commerce website more willing to check the product is to give a discount price. By Default, woocommerce only show green bubble with a “Sale” text on it. I think its not

Read more

18
Oct

WordPress Custom Post Type Registration using register_post_type

WordPress provide a way for their developer to add any kind of post type and all available options for it. This features is really handy to improve Backend User Experience so that user can add / update / delete any kind of post type easily. Here is the code snippet I usually use to register a new wordpress custom post

Read more