Testimonials

Go to Testimonials > Add New and add your entries there for each of your item. If you have imported demo data xml file, then you can already see a few samples we have there. You can easily edit them.

On the testimonial editor page, you will find options

  • To enter Gravatar email address (If you enter this, thumbnail for this client will be fetched from his gravatar, if not, you can upload a custom thumbnail from Featured image section just on right side of this Gravatar field)
  • Byline (Post of the client ie: CEO of Blah, blah..)
  • URL (URL of clients site).

You can use a widget called JS-testimonials to show them on front-end. In case you need, there is a shortcode too for testimonials that you can use on any post/page.

Testimonials Shortcodes

You can use this shortcode in any post/page/custom post type or in a sidebar text widget or as a template tag.

Basic usage:

[templatation_testimonials]

An example:

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

Parameters for Testimonial Shortcode available are:

  • 'limit' => 5 (the maximum number of items to display)
  • 'per_row' => 3 (when creating rows, how many items display in a single row?)
  • '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)
  • 'display_author' => true (whether or not to display the author information)
  • 'display_avatar' => true (whether or not to display the author avatar)
  • 'display_url' => true (whether or not to display the URL information)
  • 'echo' => true (whether to display or return the data - useful with the template tag)
  • 'size' => 50 (the pixel dimensions of the image)
  • 'title' => '' (an optional title)
  • 'before' => '<div class="widget widget_woothemes_testimonials">' (the starting HTML, wrapping the testimonials)
  • 'after' => '</div>' (the ending HTML, wrapping the testimonials)
  • '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'
  • 'title'
  • 'date'
  • 'menu_order'

To use in template files (usage in .php files):

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

results matching ""

    No results matching ""