Posts in Sidebar
[resolved] category in manual sort order (4 posts)

  1. Jockel666
    Posted 1 year ago #


    I want to show the first N articles of a category, but I want to have a certain article at top which I can't catch by any of the normal sort orders.

    I tried to put the IDs in the ID field, but this did not work.

    Even better would be if I could define more than one articles to be at the top of the list. And then would all the others follow of the certain tag or category .

    Any idea?

    Greetings & thanx, Joerg


  2. aldolat
    Plugin Author

    Posted 1 year ago #

    in this moment it's not possible to get posts by a certain category and show certain posts at the top of the list, but in the next version that I'll release in the next few days, you'll be able to do what you're asking for.

    When I'll publish the new version of the plugin, follow these steps:

    1. create a widget and define the IDs of the posts to retrieve in "Get these posts exactly";
    2. in "Order posts by" choose "Preserve ID order" (this is a new option I'm adding);
    3. save the widget;
    4. create a new widget just below the previous widget
    5. in this new widget, delete the title and choose the desired category in the "Get posts with this category" field;
    6. in the "Exclude posts with these ids" field (this is a new option I'm adding), enter the same IDs you used in the previous widget;
    7. save the widget.

    You are done. Test the results. If there is too space between the two widgets, you can reduce it via CSS.

    Wait for a couple of days for the new version.

  3. Jockel666
    Posted 1 year ago #

    That's great news, thanx for the fast answer! So I'll wait until the update :)

  4. aldolat
    Plugin Author

    Posted 1 year ago #

    Hi Jockel666,
    I just released Posts in Sidebar 1.17. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Posts in Sidebar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.