[Plugin: WordPress Popular Posts] Get permalink from the function loop
-
<?php if (function_exists("get_mostpopular")) get_mostpopular("range=all&order_by=views&limit=3&stats_comments=0&thumbnail_selection=usergenerated&thumbnail_width=100&thumbnail_height=100&excerpt_length=80&do_pattern=1&pattern_form='{image} {title {summary}'&post_start='<li onclick=location.href=\"". get_permalink() ."\">'&post_end='</li>'"); ?>
As you can tell the get_permalink() is not the right way to do it since it only points to last(?) post.
Anyone know how to get the correct permalink?
http://wordpress.org/extend/plugins/wordpress-popular-posts/
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘[Plugin: WordPress Popular Posts] Get permalink from the function loop’ is closed to new replies.