Code for the random post widget for label


#1

code for the post random post widget for label I used the blogger platform to create blogs and in the process to edit the template database. I’ve been looking on the internet to post random post code widget for label but disappointed because what I see is the post code for the label only post the widget. The code is important for me to show any post that contains affilite link in the sidebar of my blog. thanks.


#2

i didn`t Get You But anyway, Get some Code Here…

<li class='ranpost'><a onclick='feelingLucky();'><i class='fa fa-random'/></a></li>

EDit CSS for .ranpost yourself

  <script type='text/javascript'>
    //<![CDATA[
    function feelingLucky(){
        var script = document.createElement('script');
        script.type = 'text/javascript';
        script.src = '/feeds/posts/summary?max-results=0&alt=json-in-script&callback=readLucky';
        document.getElementsByTagName('head')[0].appendChild(script);
        }
    //]]>
    </script>

#3

I want to know widget code for random post widget by label. tq


#4

Sorry Then, I am Unable To Help you… Wait Till SOmeone answers


#5

still waiting, hope can get answer here. Anyone?


#6

@encikarman

Hey Buddy, You want to show random posts for label. There is a widget generator created by Tien Nguyen to show Random / Recent / Specific Label Posts.

Do Google for “sneeit Blogger Random Recent Specific Label Posts”

Specify “LABEL” in Label Field

Select “Random” from Order of Post List


#7

tq syncboost. I already use the widget from Tien Nguyen but now try another one from Indonesia blogger.

Thanks.