URL to Post Archive of Custom Query

I have a custom query for a CPT, from which I can obtain an array of postid’s.
I want a url to the archive of the CPT, which has the query result (i.e. the posts of the postid’s in the array are shown).
This url needs to go in a button as href value.

Read more here:: URL to Post Archive of Custom Query

Leave a Reply

Your email address will not be published. Required fields are marked *