• I want to show in my sidebar only the 10 most viewed single posts, aka permalink views.

    Which is exactly the code that I’ve to ad in my sidebar ?

    For example with:

    <li>
       <ul>
       <?php akpc_most_popular(); ?>
       </ul>
      </li>

    I get the overall most popular posts, but I want only the most single viewed post.

    Thanks in advance

    ciao
    alexander

Viewing 4 replies - 1 through 4 (of 4 total)
  • The readme for that plugin is found here:
    https://alexking.org/projects/wordpress/readme?project=popularity-contest

    From that, I saw that you should check out Options -> Popularity (scroll down a bit on that page) and you’ll see a complete reference on how to use the tags.

    Looks like you might try:

    <?php akpc_most_popular($limit = 1); ?>

    Thread Starter ottantaventi

    (@ottantaventi)

    Sorry for my bad english and my ignorance of PHP.

    What I meant is: I want a list of 10 items displaying NOT the overal popularity (made of number of comments, trackbacks …) but ONLY by the number of times the single post has been viewed (what Alex King’s in the stats page calls “Permalink views”

    Thanks in advance

    ciao
    alexander

    Ah, I see. As far as I know, there’s not a function in the plugin to do that. You’d probably need to do a little hacking to make one of your own.

    Thread Starter ottantaventi

    (@ottantaventi)

    But the sample is on the “popularity rankings” page ccoming with the plugin. It’s the very first view. He calls it “Permalink View”…

    is it not possible without “hacking” (what I’m not able) ?

    ciao
    alexander

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Popularity contest: how to view only permalinks views ?’ is closed to new replies.