/? switches attached to URL
-
I’m using the /?random switch added to my URL to produce a random post. I seem to remember that there are other switches as well, but I can’t remember where I found out about the one I’m using. Can anyone point me to a list of them?
The blog I need help with is: (visible only to logged in users)
-
-
I know there was at least one for the most recent post in addition to a random post, because I was using it before I got stupid with experimentation and deleted the code from my text box. Finding that one again is the main reason I posted this topic. And, of course, I’d like to “play” with the others. :mrgreen:
-
This will give you random posts from a specific month:
<a href="http://YOUR_BLOG_NAME.wordpress.com/2009/05/files/?random" target="_blank">RANDOM_POST_FROM_MAY_2009</a> -
-
izaakmak
It’s not really all that very interesting.
The http://YOUR_BLOG_NAME.wordpress.com/2009/05/
will already show just the links for one month (in this case for May 2009).
Might encourage readers to look at older posts?
I thought I got this from a forum regular, but he says not. I do vaguely remember reading about some “tricks” that can work with HTML, but which ordinarily are used with scripts, arrays, other stuff I did not understand at the time.What I was trying to do was to show random pictures, but it seems the underlying structure of wp.com can’t be applied.
-
1tess
I’m still grateful. Besides, I’ve started a “snippet” file and I want to include all these type of seldom used (and thus hard to remember) tricks. Like I said before, I’m pretty sure there was more where I found the /?random switch. It must have been something I found while looking for something else.
Thanks again, and keep ’em coming.
P.S. I posted a request earlier that I never got a response to. It’s been pushed of the stack that I see, so I don’t know if you saw it. Searching for “text cloud” will bring it up.
-
izaakmak
Yes, I did see your text cloud question, but I did not have any ideas about it. I think also that I did not understand the question.
Yes, start a snippet file for yourself, either as a second wordpress.com test blog, or save the info as “draft posts” or as “draft pages” on your blog. Or just a textedit file (Mac program) or something similar for Windows or whatever operating system you use.
As for the ?random
I wish I could remember how I found that: an idiot savant sort of search made by a rank beginner.
Ta! tx 2u
- The topic ‘/? switches attached to URL’ is closed to new replies.