• Hi, how can I change this Code to show Vote Count together with the percent skin? Like -> 80% Voted by 15 Users/Guests.

    Thank you!

    <div class="votewidget_skin">asdf
    <?php
    	$rows = 0;
    
    //Now does not include deleted posts
    $i = 0;
    while ($rows < get_option('voteiu_widgetcount')) {
    	if ($a[0][$i][0] != '') {
    			$postdat = get_post($a[0][$i][0]);
    		if (!empty($postdat)) {
    			$rows++;
    				$postdat = get_post($a[0][$i][0]);
    				echo '<div class="votelistind"><div class="votemicro">'.$a[1][$i][0].'</div><span class="votemicrotext"><a href="'.$postdat->guid.'" title="'.$postdat->post_title.'">'.$postdat->post_title.'</a></span></div>';
    		}
    	}
    	if ($i < count($a[0])) {
    	$i++;
    	} else {
    	break; //exit the loop
    	}
    }
    ?>
    </div>

    https://www.ads-software.com/extend/plugins/vote-it-up/

  • The topic ‘[Plugin: Vote It Up] Show Vote Count in Percent Skin’ is closed to new replies.