Displaying a Grid of Series or Speakers
This will list all sermon series and their associated image in a grid.
There are several different optional parameters:
- tax – options: wpfc_sermon_series (default), wpfc_preacher, wpfc_sermon_topics
- order – options: DESC, ASC (default)
- orderby – options: id, count, name (default), slug, term_group, none
- size – options: any size registered with add_image_size. The default is “sermon_medium”
[sermon-images tax="wpfc_preacher" order="DESC" orderby="id" size="sermon_small"]
The sermons shortcode will allow users to easily display listings of sermons in pages or posts without knowing PHP or editing template files. Add the shortcode in a post or page, and use the arguments to query based on series, preacher, and many other possibilities (see the Arguments).
See the WordPress Codex for information on using the arguments.
This will list the 10 most recent sermons.
This will list the 20 most recent sermons.
[sermons taxonomy="wpfc_sermon_series" tax_term="winter-revival-2012"]
This will list the 10 most recent sermons in the series “Winter Revival 2012″. You must use the Series “slug” in the shortcode.
This will list every sermon.
[sermons taxonomy="wpfc_preacher" tax_term="pastor-paul-chappell"]
This will list the 10 most recent sermons by the preacher “Pastor Paul Chappell”. You must use the preacher “slug” in the shortcode.
It will add a couple of dropdown selections to quickly navigate to all sermons in a series or by a particular speaker. It can be used anywhere in your theme that supports shortcodes. The sort fields are now included in the archive page already.