Support » Plugin: Zotpress » "order" and "sortby" not working, confusing Help page

  • Resolved jackdougherty


    Katie, thanks for all of your work on improving ZotPress, one of my favorite plugins.
    But “order” and “sortby” are not working correctly in version 5.0.4, as you can see here:

    The basic display works just fine (in no particular order):
    [zotpress collection=”M7AGPJ4D”]

    But no display appears when I try adding this:
    [zotpress collection=”M7AGPJ4D” order=”author”]

    Nor does it work when I drop the quotation marks:
    [zotpress collection=”M7AGPJ4D” order=author]

    Oddly, as you’ll see further down the page, chronological order is working, but I cannot sort in descending order with this shortcode (with or without quotation marks):
    [zotpress collection=”M7AGPJ4D” sortby=”date” sort=”desc”]

    The ZotPress Help page is confusing to me because the examples for “order” and “sortby” do not appear, and seem to have been accidentally copied from the “Carl Sagan” cells above it. Whether or not I’m supposed to include quotation marks around all parameters in the shortcode has been one issue that’s confused me since the last version, but otherwise it’s a great tool.

Viewing 1 replies (of 1 total)
  • Plugin Author Katie


    You’ve found a mighty typo! The correct shortcode is:

    [zotpress collection=”M7AGPJ4D” sortby=”author” order=”desc”]

    … with or without quotations around the attributes.

Viewing 1 replies (of 1 total)
  • The topic ‘"order" and "sortby" not working, confusing Help page’ is closed to new replies.