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

    (@dfactory)

    There are both:

    [post-views] shortcode
    pvc_post_views() – function with optional $post_id parameter

    Thread Starter pageii

    (@pageii)

    Thank you for the tips.

    Is the post count value stored as a post variable? I can’t seem to find the meta key name.

    Plugin Author dFactory

    (@dfactory)

    Nope. It wouldn’t be effective for large traffic websites – that’s one of the reasons we’ve built this plugin.

    Thread Starter pageii

    (@pageii)

    Yes, I’ve also be mulling over this and I tend to agreed with you. Do you have any tips for returning an array of post ids of “popular posts” by view count registered under your plugin?

    Plugin Author dFactory

    (@dfactory)

    Yea, you just use regular WP_Query or get_posts() with “orderby” parameter set to “post_views”.

    Regards,
    Bartosz / dfactory

    Thread Starter pageii

    (@pageii)

    That does it! You solved my problem entirely! I’m actually using WP query parameters as rendering variables and “post_views” is exactly what I had been looking for!

    Your plugin works, is light weight, carefully balances performance issues, offers powerful options (e.g. multi-select specific custom post-types) and no frills. Your assistance is also prompt and precise. dFactory you are GREAT and folks at Pageii Studio wants to say a big THANK YOU to you!

    Plugin Author dFactory

    (@dfactory)

    Thx for the kind words ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Need php template tag & shortcode’ is closed to new replies.