| View previous topic :: View next topic |
| Author |
Message |
lamananamasamarilla Guest
|
Posted: Mon Oct 10, 2005 6:24 am Post subject: how does the "most popular post" work? |
|
|
Hey!
In my blog, the "most popular posts" link shows the names of various different post names, but all of them have the same url. What does it mean? Is that rating real?
S |
|
| Back to top |
|
schinckel
Joined: 03 Apr 2005 Posts: 1238 Location: Adelaide, Australia
|
Posted: Mon Oct 10, 2005 7:59 am Post subject: |
|
|
You'll need to post your code from your template for the relevant section.
Mine works, and looks like:
| Code: | {popularposts}
{if $pposts != ''}
<h2>Most Popular Posts</h2>
<ul>
{foreach from=$pposts key=key item=hits}
<li><a href="{$hits.url}" title="{$hits.title}">{$hits.title|truncate:25:"..."}</a>: {$key}</li>
{/foreach}
</ul>
{/if} |
_________________ Blogsome Forum: Rules/Search
WordPress Codex; Smarty Tags Docs |
|
| Back to top |
|
|