WordPress.org

Ready to get started?Download WordPress

Forums

Popularity contest plugin to display pages only (2 posts)

  1. helptoday
    Member
    Posted 6 years ago #

    I'm currently using the alex king popularity contest plugin which is working great. The only thing is that it displays both posts and pages. How would I go about excluding pages, and only displaying most popular posts?

    I am using the wordpress most popular plugin as "All Time" to display most popular posts of all time and want to use the Popularity Contest plugin to display the "Most Popular".

    This is the code i'm currently using in the sidebar widget for the popularity plugin:

    <?php akpc_most_popular(10, '<li>', '</li>'); ?>

    Or,if you know of a plugin that will let me display both "all time" and "most popular" lists in the sidebars, it would make my life much easier.

    Thanks in advance.

  2. Mark Barnes
    Member
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic