Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • rickannino

    (@rickannino)

    Two other things that might have been contributing factors for me:

    1. I may have been in Text mode rather than Visual mode when I tried to use the short code wizard. In visual mode the shortcode worked.

    2. When typing in the short code you need to include the list id since you now have multiple lists. I had been wondering how you specify which list you wanted to include in this post. So the simplest format of the short code is actually:

    [member-list id=1]

    or more complete:

    [members-list id=1 search=true radius=true alpha=true pagination=true sort=true]

    assuming that you want your first or only list to be displayed.

    The Pro version allows you to associate all the fields, search and sorting parameters with each list with the list id which can be handy.

    I just purchased the pro version last week and had the same problem. It appears that that installation script does not add a code snipped to your theme’s function.php file. I added the following snipped to the functions.php file of my current theme (twenty-fourteen in this case) before the line containing function twentyfourteen_widgets_init().

    function display_memberlist() {
    	ob_start();
    	$members = new tern_members;
    	$members->members( array(  'search' => false, 'alpha' => false, 'pagination' => false, 'pagination2' => true, 'sort' => false, ) );
    	$html = ob_get_clean();
    	return $html;
    }
    add_shortcode('teamlist', 'display_memberlist');

    The add shortcode wizard when adding a post then worked.

Viewing 2 replies - 1 through 2 (of 2 total)