• Resolved guerrilladigital

    (@guerrilladigital)


    When I try to use sort_dir and set it as “asc” or “desc” the output is the same. Does this work, or is there some setting i need to be aware of?

    I’m trying to make a polls “archive” listing of sorts. this is the shortcode I’m using

    [yop_poll_archive max=99999999 sort=”date_added” sort_dir=”desc”]

    Are these the only available shortcodes?

    Current Active Poll: [yop_poll id=”-1″]
    Latest Poll: [yop_poll id=”-2″]
    Random Poll: [yop_poll id=”-3″]
    List with all polls: [yop_poll_archive max=0 sort=”date_added|num_votes” sort_dir=”asc|desc”]

    Also, is pagination of the archive supported>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author YOP

    (@yourownprogrammer)

    Hello

    I’ve included the answers to your questions below

    • There is a typo in the shortcode (we will update the instructions with the correct one).
      It should be sortdir.
      [yop_poll_archive max=99999999 sort=”date_added” sortdir=”desc”]
    • Yes, that is the complete list of available shortcodes.
      If you have suggestions for others, we would love to hear them.
    • Unfortunately pagination is not currently supported.

    I hope this helps.

    Thread Starter guerrilladigital

    (@guerrilladigital)

    Thanks, that shortcode typo fix helped. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.