Tags: functions

Output Total Number of Locations from Store Locator Plus Plugin

Create a WordPress theme shortcode to show a total locations count from Store Locator Plus plugin. Continue reading

Posted in WordPress | Tagged | Leave a comment

Woocommerce: Remove One of Product Dimensions from Frontend

Remove specific products dimensions from displaying dimensions set of Additional Information Woocommerce tab and all other appearances of dimensions on front-end theme. In this case I’m removing the Height. Continue reading

Posted in WordPress | Tagged | 2 Comments

Replace “Read More” Text for Woocommerce Out of Stock Products Listing

After newest updates of Woocommerce it was hard to find how to replace texts on product boxes buttons on products categories archives. Finally I’ve compiled a code that works for Read More default text of Out of Stock items listing. Continue reading

Posted in WordPress | Tagged | 12 Comments

Add Missing .woocommerce Class And Other Classes to Pages Used by WooCommerce

When making modifications to WooCommerce I found some pages I made do not have a basic .woocommerce class, which is used in CSS. Such as some plugins pages and categories filtered by attributes. Here’s the easy way to add .woocommerce class to such pages. Continue reading

Posted in WordPress | Tagged | 2 Comments

Allow Markup in WordPress Category Descriptions

Simple code adds an ability to include HTML markup into category descriptions. A functionality disabled by default in WordPress. Continue reading

Posted in WordPress | Tagged | 1 Comment