• Hello!

    I have already read a lot on the subject, but somehow nothing really worked.

    I would like to display the blogs on my site in a random order. The order should change as soon as the website is reloaded. Would you guys have any ideas about this? That would be great!

    I would like to give you more info but don’t know what else you need….

    Greetings and thanks in advance
    Nicolas

    The page I need help with: [log in to see the link]

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter nicolasanderes

    (@nicolasanderes)

    Hello everybody!

    Thanks for your help, I have never really had a good experience in a forum, but I think here I found a good one! ??

    @helvetica123
    (I think) I have now turned off the HTML cache with the following code: I Placed it in the header.php
    <meta http-equiv=”Cache-Control” content=”no-cache, no-store, must-revalidate”>
    <meta http-equiv=”Pragma” content=”no-cache”>
    <meta http-equiv=”Expires” content=”0″>

    If I now use one of the two codes from @4ever16 in the functions.php, the home page https://makerstars.org/ is no longer accessible (404 error). Unfortunately, the posts are still not randomized…

    Have I done something wrong? Does the code have to be in a certain place or do I have to add something? Sorry, with PHP I really still have trouble… :/

    Thread Starter nicolasanderes

    (@nicolasanderes)

    Hey there, has anybody an idea how i get this to work?

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Random order blog posts’ is closed to new replies.