Twenty Eleven: Random Page (not post) Code?

  • Author
  • #1563101

    I’m posting this here since I think if such a thing did exist, it might be through CSS.

    I use the “random post” link ( in my menu. I’m wondering if there is some way to do the same thing, but with pages. (I know the difference between pages and posts. I use pages for older material that I’ve added here and link to on posts – it works for me, other than this part!) Is there any way to make this happen?


    The blog I need help with is


    I’m checking on this and will get back to you as soon as I can, but I don’t think there is a random code for pages, just the one for posts.


    Thank you, TSP!


    Try starting with a page before adding ?random.

    For example:



    Thank you, designsimply, you made my day! Thank you! (Can you tell how much I love this?!) Thank you!


    Hmmm, @designsimply, I had tried that code and it was not working for me, thanks bunches for chiming in. I’ll have to try it again. All it was doing for me was reloading the page I was on.

The topic ‘Twenty Eleven: Random Page (not post) Code?’ is closed to new replies.