Category Archives: WordPress

Core WorPress

Filter hooks to modify menu item in WordPress

Hooks API is an heart of  WordPress.  With Filter hooks we can modify HTML of before sending to Browser. Too often as per design/requirement we have to modify Navigation menus. Let’s have a look and usage of  3 important filter hooks to do the same.

Continue reading Filter hooks to modify menu item in WordPress

Advertisements

Backbone JS + Require JS + WordPress

backbone-wordpress-seed

The seed project to start a scratch development with Backbone JS + Require JS + WordPress REST API(WP API) .

You can download source code from GitHub repo.

Continue reading Backbone JS + Require JS + WordPress

WooCommerce: Exclude products on Shop/Listing page based to Specific Conditions

Conditions :

1. Exclude/Filter products based on meta value

I want to show products having a specific meta (e.g. Product Specification ) on listing page i.e if meta value is empty ( Product Specification is not added in CMS ) , then i want to hide it.

Continue reading WooCommerce: Exclude products on Shop/Listing page based to Specific Conditions