4 in 1 Widget by DVS - Must Used Wordpress Plugin
The plugin has 4 powerful features contain random featured post, Share Button, Flash Mp3 Player, Quick Notification and that floats at the top or botom of your page to help You increase page visits, let your visitors easily share your blog contents to popular social media networks, as well as entertains your visitors with mp3 songs of your choices. Also the last widget added is the quick notification bar allows you to give a short announcement to your visitor. This plugin is also fully customized, easy and complete setting.
- A lightweight plugin, doesn't require big resource from your server.
- Multi Function in one package, the 4 in one.
- The widget floats at the top or bottom of page and it's not annoying with minimalis design but stylish.
- Widget design like background color can be easily adjusted to match your template.
- The random post slides in every 3 seconds.
- There are two buttons to scroll the contents, left or right.
- Random posts can be choosen from desired categories (Random Posts from Category).
- You can play Mp3 on your wordpress sites easily, just copy URL.
- Mp3 player now support multi URL so you can play multi files at once, default is 3 URL but more is okay (since v1.3.0).
- Complete share button from AddThis.Com
- Quick notification allow you to announce important messages to your visitor.
- Also included Go to Top button with smooth scroll effect and close/ open widget button.
Screenshot
Below is screenshot describing why it's called 4 in 1 plugin. The top is the quick notification feature which is recently added, and the bottom is random post, mp3 player + share button (the early 3 on 1). There are options to show quick notification only and the 3 in 1 separately, or you can activate both. The placement is customizable. SEE DEMO

Installation
- Download the plugin from following source:
- Get directly from this site ( downloads)
- Get it from Wordpress.Org
- Activate plugin "Random Posts, Mp3 Player, Quick Notify + ShareButton" from Plugins menu » Installed Plugins.
- Go to the plugin options in your dashboard check "Display Random Featured Post", define number of posts to show, widget placement, background color and categories you would like posts to be randomly selected.
- Save changes and Done!.
Random Featured Post
This plugin will list random posts from a chosen category. You can exclude or include certain categories, select multi categories and display number of post up to 21 posts. The random post will slides every 3 seconds continueously. It floats at the top or bottom of page, so the random post will remain appears no matter user scroll the page.
AddThis Analytic Option
One of interesting stuff from this plugin is the share button. I like AddThis share button service, it has the share networks over 300 popular sites, and I guess this is the most complete so far. Besides, Addthis share button also comes with analytic option, so you can track how many shares have been made from your contents. Off course you'll have to be registered before you can use this service (It's totally free). If you are registered, find your publisher ID then insert it to the plugin option.
Flash Mp3 Player
The Flash Mp3 Player is originally my creation and is specially designed for this plugin. It can alse be used separately out of the plugin, you can embed it anywhere. See more detail about the player and how to use it here.
Quick Notification
Quick notification allows you to announce information to your visitor. Any html codes are allowed, you can also use javascript. For example you can use the following js from DynamicDrive to let you notification content scroll smoothly:
<script type="text/javascript">Replace the bold code with your own content, the rest won't be necessary.
/***********************************************
* Memory Scroller script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
***********************************************/
var memorywidth="810px" //scroller width
var memoryheight="30px" //scroller height
var memorybgcolor="transparent" //scroller background
var memorypadding="0px" //padding applied to the scroller. 0 for non.
var borderCSS="border:none;" //Border CSS, applied to scroller to give border.
var memoryspeed=2 //Scroller speed (larger is faster 1-10)
var pauseit=1 //Pause scroller onMousever (0=no. 1=yes)?
var persistlastviewedmsg=1 //should scroller's position persist after users navigate away (1=yes, 0=no)?
var persistmsgbehavior="onload" //set to "onload" or "onclick".
//Specify the scroller's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
var memorycontent='<nobr><span style="font: 12pt michroma">Thank you for using 4 in 1 plugin by <a href="https://www.finderonly.net" title="Damn's Virtual Studio">DVS.</a> If you find this plugin useful, please consider <a href="https://www.finderonly.net">linking to</a> or <a href="https://www.finderonly.net/">recommending</a> this plugin.</span></nobr>'
////NO NEED TO EDIT BELOW THIS LINE////////////
var combinedcssTable="width:"+(parseInt(memorywidth)+6)+"px;background-color:"+memorybgcolor+";padding:"+memorypadding+";"+borderCSS+";"
var combinedcss="width:"+memorywidth+";height:"+memoryheight+";" var divonclick=(persistlastviewedmsg && persistmsgbehavior=="onclick")? 'onClick="savelastmsg()" ' : ''
memoryspeed=(document.all)? memoryspeed : Math.max(1, memoryspeed-1) //slow speed down by 1 for NS
var copyspeed=memoryspeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-10000px">'+memorycontent+'</span>')
var actualwidth=''
var memoryscroller
if (window.addEventListener)
window.addEventListener("load", populatescroller, false)
else if (window.attachEvent)
window.attachEvent("onload", populatescroller)
else if (document.all || document.getElementById)
window.onload=populatescroller
function populatescroller(){
memoryscroller=document.getElementById? document.getElementById("memoryscroller") : document.all.memoryscroller
memoryscroller.style.left=parseInt(memorywidth)+8+"px"
if (persistlastviewedmsg && get_cookie("lastscrollerpos")!="")
revivelastmsg()
memoryscroller.innerHTML=memorycontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
lefttime=setInterval("scrollmarquee()",20)
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
} function savelastmsg(){
document.cookie="lastscrollerpos="+memoryscroller.style.left
}function revivelastmsg(){
lastscrollerpos=parseInt(get_cookie("lastscrollerpos"))
memoryscroller.style.left=parseInt(lastscrollerpos)+"px"
}if (persistlastviewedmsg && persistmsgbehavior=="onload")
window.onunload=savelastmsgfunction scrollmarquee(){
if (parseInt(memoryscroller.style.left)>(actualwidth*(-1)+8))
memoryscroller.style.left=parseInt(memoryscroller.style.left)-copyspeed+"px"
else
memoryscroller.style.left=parseInt(memorywidth)+8+"px"
}if (iedom){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0" style="'+combinedcssTable+'"><td>')
write('<div style="position:relative;overflow:hidden;'+combinedcss+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=memoryspeed">')
write('<div id="memoryscroller" style="position:absolute;left:0px;top:0px;" '+divonclick+'></div>')
write('</div>')
document.write('</td></table>')
}
}
</script>