• Resolved slezaka

    (@slezaka)


    Is it possible to include the option to filter by title, date, rating in any of the following updates, but so that the featured items will always be displayed first? For example, I have standard items with titles A, F, C and featured items with titles B, E, D. I would like to filter the items by title, with the featured items being the first. Result: B, D, E, A, C, F. And same result for filtering by date, rating…

    In the current version of the plugin is possible to filter items by featured status and sort them for example by title, but is not possible to add additional filtering by featured status and further sorting. For example:

    Featured -> by title
    Featured -> by date
    Featured -> by rating

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stiofan

    (@stiofansisland)

    Hi @slezaka,

    Yes, go to Places > Settings > Sorting.
    This is kind of like the WP Menu Screen where you can “nest” items.

    So to get what you want, add the featured field and then add any fields you want under it as a sub item. You can add several sub sort fields at a time and you can add multiple main fields with different sub fields.
    Featured (change name to Title A-Z etc)
    – Title

    I hope that makes sense, if not just let me know and I’ll make an example.

    Thanks,

    Stiofan

    Thread Starter slezaka

    (@slezaka)

    Hi, thx for reply. I know i can nested them. But when i tryting to configure sorting like:

    1. option: Feautured(desc) -> random
    2. option: Featured(desc) -> title(desc)
    3. option: Featured(desc) -> price(desc)
    4. option: Featured(desc) -> post_date(desc)

    It’s not working on frontpage. All fields in sorting list are marked like “active”.

    Working configuration for example is:
    1. option: Featured(desc) -> random
    2. option: Featured(asc) -> price(desc)

    Not working configuration is:
    1. option: Featured(desc) -> random
    2. option: Featured(desc) -> price(desc)

    So i can’t add multiple descending main fields with different sub fields like you are writing. It is not working. I think there is problem with “active” class on frontpage. All main featured fields are marked as “active” in class. Probably it is bug.

    Plugin Author Stiofan

    (@stiofansisland)

    Random can’t be mixed, it will trump anything, that’s a database limitation. For price, is your price custom field set to display as a price? Can you link to your site?

    Thanks,

    Stiofan

    Thread Starter slezaka

    (@slezaka)

    Problem is not with random. Same results with:

    1. option: Featured(desc) -> title(desc)
    2. option: Featured(desc) -> price(desc)

    Everything is working fine, when i have only one sorting method or if first is ASC and second is DESC. When both main fields are DESC or ASC sorting is not working.

    gd

    I have everything on localhost. But tommorow i can prepare live version for testing.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Featured items always first’ is closed to new replies.