Support » Plugin: WP Docs » Sort Using Shortcode

  • Resolved bryanearl907

    (@bryanearl907)


    I like the plugin, but we really need to show a list sorted specifically as newest first. Can you please tell me if we can select to sort via date in the shortcode?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @bryanearl907 sorting feature is available in advanced version. It has already been developed and released. It can be provided in shortcode as well but still sorting will work in advanced version.

    Thread Starter bryanearl907

    (@bryanearl907)

    I have looked through all available documentation and screenshots and see nothing about this. I am NOT talking about the ability to show the “date created” column and then force the user to click that column to sort by.

    I am specifically talking about the ability to show the list of documents ALREADY SORTED by date created when the page loads. Wouldn’t this require adding that info to the shortcode?

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    Yes, I am talking about pre-sorted items as well using a screenshot or a setting option from admin panel. We are on the same page.

    Thread Starter bryanearl907

    (@bryanearl907)

    Then what would the shortcode be to sort by date?

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    It would be orderby=”date” order=”ASC” or order=”DESC”.

    Thread Starter bryanearl907

    (@bryanearl907)

    So, that does not appear to be working at all. Here is the code I am using and no matter what I use (ASC, or DESC), it doesn’t matter. The list is sorted by filename, not date.

    [wpdocs dir=”1543″ view=”detail” orderby=”date” order=”DESC”]

    • This reply was modified 2 weeks, 4 days ago by bryanearl907.
    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    You are misunderstanding it here, sorting feature is not available in basic version. Sorting will work in advanced version only. I am closing this ticket because it is not a bug report but a feature investigation thread.

    Plugin Author Fahad Mahmood

    (@fahadmahmood)

    @bryanearl907 I have released a new version in which premium shortcode will be visible for basic version users as well. Hopefully it will minimize the confusions.

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