How to get archive link for multiple categories or select posts
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