Free WordPress Features by WooThemes pluginFree

9 135 websitesFree WordPress Features by WooThemes plugin by WooThemes

“Features by WooThemes” is a clean and easy-to-use features showcase management system for WordPress. Load in the features your product, company or services offers, and display them via a shortcode, widget or template tag on your website.

Looking for a helping hand? View plugin documentation.

Looking to contribute code to this plugin? Fork the repository over at GitHub.
(submit pull requests to the “develop” branch)


To display your features via a theme or a custom plugin, please use the following code:

<?php do_action( 'woothemes_features' ); ?>

To add arguments to this, please use any of the following arguments, using the syntax provided below:

  • ‘limit’ => 5 (the maximum number of items to display)
  • ‘orderby’ => ‘menu_order’ (how to order the items – accepts all default WordPress ordering options)
  • ‘order’ => ‘DESC’ (the order direction)
  • ‘id’ => 0 (display a specific item)
  • ‘echo’ => true (whether to display or return the data – useful with the template tag)
  • ‘size’ => 50 (the pixel dimensions of the image)
  • ‘per_row’ => 3 (when creating rows, how many items display in a single row?)
  • ‘link_title’ => true (link the feature’s title to it’s permalink)
  • ‘custom_links_only’ => true (link the feature’s title only if a custom URL is set)
  • ‘title’ => ” (an optional title)
  • ‘before’ => ‘<div class=”widget widget_woothemes_features”>’ (the starting HTML, wrapping the features)
  • ‘after’ => ‘</div>’ (the ending HTML, wrapping the features)
  • ‘before_title’ => ‘<h2>’ (the starting HTML, wrapping the title)
  • ‘after_title’ => ‘</h2>’ (the ending HTML, wrapping the title)
  • ‘category’ => 0 (the ID/slug of the category to filter by)

The various options for the “orderby” parameter are:

  • ‘none’
  • ‘ID’
  • ‘author’
  • ‘title’
  • ‘date’
  • ‘modified’
  • ‘parent’
  • ‘rand’
  • ‘comment_count’
  • ‘menu_order’
  • ‘meta_value’
  • ‘meta_value_num’

    10, ‘link_title’ => false ) ); ?>

The same arguments apply to the shortcode which is [woothemes_features] and the template tag, which is <?php woothemes_features(); ?>.

Usage Examples

Adjusting the limit and image dimension, using the arguments in the three possible methods:

do_action() call:

<?php do_action( 'woothemes_features', array( 'limit' => 10, 'size' => 100 ) ); ?>

woothemes_features() template tag:

<?php woothemes_features( array( 'limit' => 10, 'size' => 100 ) ); ?>

[woothemes_features] shortcode:

[woothemes_features limit="10" size="100"]

Author: WooThemes

Tags: features,services,shortcode,template tag,widget

Source from: