- edited description
[list_sermons] Shortcode order/orderby not working
Issue #51
resolved
When using the shortcode list_sermons the order and orderby parameters are ignored and the output is not sorted correctly.
The documentation (https://www.wpforchurch.com/knowledgebase/sermon-manager-shortcodes/) states that:
There are several different optional parameters:
■tax – options: wpfc_sermon_series (default), wpfc_preacher, wpfc_sermon_topics, wpfc_bible_book
■order – options: DESC, ASC (default)
■orderby – options: id, count, name (default), slug, term_group, none
Suggested fix:
change line 19 of /includes/shortcodes.php from:
$terms = get_terms($tax);
to:
$terms = get_terms($tax, $atts);
Comments (2)
-
reporter -
repo owner - changed status to resolved
fixes issue
#51→ <<cset e738ed12b57b>>
- Log in to comment