What does the plugin do?
The random blog article was written to display links to some of my favourite blogs on the homepage of my site. I decided the blogroll took up too much space and wanted article titles on the site too.
When the page loads the first blog and article is picked random and displayed. After this, every 15 seconds (by default) a new blog and article are randomly picked from your favourite blog list. The RSS feeds are cached so no need to worry about bandwidth usage or your blog being slowed down!
The plugin just needs to be activated and a small peice of code put in a template file for where ever you’d like it to appear. All settings can be controled in the wordpress admin panel and there is no need to edit any code.
Can I see it in action?
Yes, its installed and running on this blog. Just scroll up to the top right. I’ve put it here on my blog but you can stick it in any template you like.
The plugin has its own page in the admin panel to add rss feeds and tweak settings. Nothing too fancy but the ability to add as many feeds as you need without refreshing the page. See also: the screenshot of the admin panel and plugin in action below.
To download this plug-in, choose either the zip or the tar.gz
1. Upload the “rbarticle” folder to your wp-content/plugins/ directory.
2. Chmod the cache folder 777.
3. Copy `<?php rbarticle_tpl_init() ?>` to where ever you would like the random article to appear.
4. Add and modify these styles in your template’s styles.css file
#rbarticle_result (the div container that the article is updated in to)
#rbarticle_result .blog (the class for the blog title)
#rbarticle_result a (the article link)
#rbarticle_result .separator (a span class around the separator (if specified))
5. Activate the plug-in
6. Browse to Options > RB Article
7. Add rss feeds to your list of favourites
Warning: Declaration of Social_Walker_Comment::start_lvl(&$output, $depth, $args) should be compatible with Walker_Comment::start_lvl(&$output, $depth = 0, $args = Array) in /home/customer/www/arronwoods.com/public_html/blog/wp-content/plugins/social/lib/social/walker/comment.php on line 18
Warning: Declaration of Social_Walker_Comment::end_lvl(&$output, $depth, $args) should be compatible with Walker_Comment::end_lvl(&$output, $depth = 0, $args = Array) in /home/customer/www/arronwoods.com/public_html/blog/wp-content/plugins/social/lib/social/walker/comment.php on line 42
how to display random rss feed article in sidebar wordpress
[…] Загрузить плагин RB Article с сайта разработчика […]
Would you please provide an example of the changes you made to the style.css file? I want to be sure I do this correctly.
Kind evening! Thanks for a plug-in! A problem: and what to do, if RSS sources of different codings (UTF-8, Windows-1251)? It would be convenient to have possibility to choose the coding for each tape… Whether plug-in development is expected?
I would like to share with you a link to your site
write me here firstname.lastname@example.org
I have been surfing on-line jdhipss more than three hours lately, yet I by no means found any fascinating article like yours. It’s beautiful value enough for me. In my view, if all web owners and bloggers made good content as you did, the internet will likely be a lot more useful than ever before.
I relish, result in I found exactly what I was taking a look for. You’ve ended my 4 day lengthy hunt! God Bless you man. Have a great day. Bye