
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Its possible but then you will have to remove the limit of 50 you set with your view and set it to 'No limit'.
And then add pagination and display 20 results per page and add pagination links. As it seems you have thousands of news posts and its not recommended to display all news at once that is why you should add pagination.
Ok, I changed it to what you recommended and I see the pagination and a 2nd page, but all posts are the ones with taxonomies and not displaying the ones without "in between" these ones and sorted by publishing date. For example, in the attached captures, those 3 articles without a taxonomy should display in between the ones with taxonomies above and below, as these are sorted by published date and no other filter.
Forgot the attachment, here goes...

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
You forget to remove the limit so I have set the limit to 'No limit' and also adjusted the pagination shortcode.
Please check now:
- hidden link
I'm not sure on what page the post where taxonomy not assigned will be not available but it will be there. If you want you should try to add text search.
This works now. Thanks a lot for your assistance and for the code. Much appreciated.
My issue is resolved now. Thank you Minesh!
Hi Minesh,
Following up with this ticket I need your support again, if possible. For the same views "Top News" and "Featured News", I now need to add a second sort order. Right now it is set by publishing date and the second sort should be by the custom field "Article Placement' where Top news has its own field slug "article-placement-top-news" and Featured news with the slug "article-placement-featured-news" (both numeric fields). So I need the second sort by these fields per each view Ascending.
I believe this is done with yet more custom code (snippets) based on some other support posts I found but I'm not certain how to go about it and if this can be combined with your code snippet.
Kindly let me know.
Thanks,
Dan