badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Random Posts

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49223
    Rafael D
    Participant

    I need to show posts in my home in random order –but I can’t find the function wp_query or get_posts or the parameter for orderby=rand

    Where I can find this?

    Thanks for any help!

    #49228

    Hi Rafael D,

    WordPress default feature is its latest post. So you post will be displayed in latest post by default. If you like to add random post then it needs code customization. You can get reference from below link.
    https://codex.wordpress.org/Template_Tags/get_posts

    If you are not able to fix it then you need to hire a developer to add that feature in theme because its a complete new feature to be added in the theme.

    Thank you

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.