How to get archive link for multiple categories or select posts

Question

Have widget which has option to display post with multiple categories or using posts ids

Have widget which has option to display post with multiple categories or using posts ids

Now i want to generate archive link for any of these condition.
If user select 20 post ids have option to limit option to display it, and now i need archive page link for that select posts, same condition for categories need archive page link, like view all posts in xyz category etc.

basically i need view all archive link for that widget for selected category or selected posts.
Line below example

enter image description here

0
Anshdeep 4 months 0 Answers 9 views 0

Leave an answer