Page 1 of 1
Does a random entry sidebar plugin exists?
Posted: Thu Apr 15, 2010 4:36 pm
by Fabien
Hello,
My blog have a lots of entries and I woul like to have a sidebar plugin that just display a link called "Random Entry". If clicked, a random entry is displayed.
I have been unable to find this. Does it exist?
Thanks, Fabien
Re: Does a random entry sidebar plugin exists?
Posted: Thu Apr 15, 2010 5:57 pm
by Don Chambers
Sort of. There is a sidebar plugin for recent entries. It shows the title of entries (not the entry body). It can fetch from any or all categories, and can also be set to show random entries.
Re: Does a random entry sidebar plugin exists?
Posted: Thu Apr 15, 2010 6:24 pm
by Fabien
Thanks a lot, Don. Exactly what I wanted!
Just a question: how can I apply a specific style to the text displayed in the sidebar?
Warm regards, Fabien
Re: Does a random entry sidebar plugin exists?
Posted: Thu Apr 15, 2010 8:15 pm
by Don Chambers
Fabien wrote:Thanks a lot, Don. Exactly what I wanted!
Just a question: how can I apply a specific style to the text displayed in the sidebar?
Warm regards, Fabien
The recent entries text, or any text in the sidebar?
If you are referring to the recent entries text, it is all within a div class="container_serendipity_plugin_recententries". The list of entries is a definition list. The entry title is dt class="serendipity_recententries_entrylink" and the entry's date is dd class="serendipity_recententries_entrydate".
So, in your stylesheet, you could do this:
Code: Select all
.container_serendipity_plugin_recententries {
/* rules here will impact entire recent entries sidebar output */
}
.serendipity_recententries_entrylink {
/* rules here will impact just the entry title */
}
.serendipity_recententries_entrydate {
/* rules here will impact just the entry date */
}
Re: Does a random entry sidebar plugin exists?
Posted: Fri Apr 16, 2010 6:07 am
by Fabien
Thanks again, Don.
Re: Does a random entry sidebar plugin exists?
Posted: Fri Apr 16, 2010 1:21 pm
by Fabien
Hello,
Bug or design? There is in the recent entries plugin an option: "Only recent entries that are not on the front page will be shown." But this option is used only for recent entries and not for random entries. Is it possible to have this option applicable for both?
Warm regards, Fabien