Ready to get started?Download WordPress


Post Views Count
before and after parameter does not working for [post_view] (1 post)

  1. WPSpeak
    Posted 1 year ago #


    I've tried to add the before and after parameter for [post_view] shortcode.

    1. I tried putting this in the post
    [post_view before="This post has been viewed " after=" times"]

    This only shows me 0 which is the number of views. No "after" and "before" element showing up.

    2. I tried adding this to my template
    echo do_shortcode('[post_view before="This post has been viewed " after=" times"]');

    Same result as method no 1. Got any ideas why is that happen?


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.