Tagged: random in category
I have some category pages where I show one page from a category on a page. Currently I have next and previous buttons but ideally I would like to have a button that gives a random post from that category.
As there will be a lot of different category pages if possible I would like not have to specifically specify a category in the code.
Is this possible please.
Thanks in advance for any help.http://inspirationzoo.com/logo-design
You would need to create a new WP_Query and add a link.
Thank you but I don’t know much php, can you advise how I could make the link random
The code would need to be written and tested. I don’t have code to do that at the moment.
Ok thanks anyway.
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.