• Hi guys, thank you for this great plugin.

    Is there a way to show the Post Views from only one specific post category ?

    In my blog I have Two Categories for Posts and the plugin is showing Post Views for both categories.

    Thank You in advance for your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author dFactory

    (@dfactory)

    Hi,

    Can you explain that a bit more? Do you only want to:
    1. count posts from a specific category or
    2. display the views in posts from specific category
    Because that would be two different things.

    Thread Starter acelerawp

    (@acelerawp)

    Hi dFactory Team,

    Sorry for Not explain correctly. The thing I need is to show only the popular Posts from only one category. Let me explain: Currently I’m showing in my Sidebar the “Top 10 ( latest 30 days)” posts and there are shown the posts from my Two Post Categories. I need to show Posts from only one category. So it would be great if you can add an option to select the post categories we want to show in front-end. So that we can have the flexibility to select only one post category, or several categories, or all categories.

    Thank you in advance for your help.

    Thread Starter acelerawp

    (@acelerawp)

    Hi @dfactory Team,

    Sorry for Not explain correctly. The thing I need is to show the popular Posts from only one category. Let me explain: Currently I’m showing in my Sidebar the “Top 10 ( latest 30 days)” posts and there are shown the posts from my Two Post Categories. I need to show Posts from only one category. So it would be great if you can add an option to select the post categories we want to show in front-end. So that we can have the flexibility to select only one post category, or several categories, or all categories.

    Thank you in advance for your help.

    Plugin Author dFactory

    (@dfactory)

    Hi,

    If it’s a widget you’re using to display the most popular posts then there’s a “pvc_most_viewed_posts_args” filter hook that you can use to adjust that. What this filter allows for is to modify the parameters for the WP native get_posts() function. So it can handle the same parameters including categories. Please try to play with this filter hook and you should be able to come up with a solution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I show Post Views from only One category’ is closed to new replies.