• oldcode

    (@coconutcoder)


    Is there a way to target a specific list item using the shortcode? Something like: [abcf-staff-single staff-id=”1919″] (I just made this one up), where the list is only an individual, rather than a group?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The short answer is no. But you can target individual by pointing to their permalink. On my site the url is; https://www.mywebsite/team-members/firstname-lastname
    The ‘team-members’ part can be changed in Options.
    The firstname-lastname is the ‘slug’ setting in each team member.

    Another option would be to create a group with 1 member?

    Plugin Author Brett Shumaker

    (@brettshumaker)

    Hi @coconutcoder

    @peng1nz is correct that there is not an attribute for this in the shortcode, though I did just add it this evening over in a branch in Github so it will be released soon.

    So watch for an update in the next week or so.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Target single list item with shortcode?’ is closed to new replies.