• Resolved MartiX

    (@martix79)


    Hi, what will be the best way to remove or swap with the icon the text from the stats? ie. 11 views, I would like to show the only number or swap views with an icon, and the same for comments.

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi there,

    Which text do you mean, exactly? A screenshot would help.

    Thread Starter MartiX

    (@martix79)

    Plugin Author Hector Cabrera

    (@hcabrera)

    Thanks for the screenshot!

    Well, the answer to your questions is: it depends.

    If your theme already includes means to add the icons, then all you need to do is customize WPP’s HTML markup to replace the “views” / “comments” texts with them.

    If you don’t know how to -or prefer having someone else do this customization for you- you may want to get in touch with the developer of your theme and ask him/her about it. Alternatively, I’m currently available for freelance jobs so feel free to contact me if you prefer.

    Thread Starter MartiX

    (@martix79)

    Ok, so I presume that I can’t just use custom HTML in the widget or shortcode, because if I’ll use {stats} it will give me the number with the word already. So the only way will be using WordPress filter?

    Plugin Author Hector Cabrera

    (@hcabrera)

    Not quite right.

    There are other Content Tags you can use, like {views} and {comments} (see Settings > WordPress Popular Posts > Parameters for a comprehensive list of available Content Tags). The actual icons (eye, comment cloud, or whatever you want to use) have to be pulled from somewhere else (your theme if it supplies them, for example).

    Thread Starter MartiX

    (@martix79)

    haa… this is what I was looking for !!! {views} and {comments}!!
    I have no idea how I missed it.
    Thank you so MUCH!
    Just for your information, long time I was looking for and testing different plugins of this kind, but your one is really good.
    Thank you for your time which you have spent doing it. Well done!

    • This reply was modified 7 years ago by MartiX.
    Thread Starter MartiX

    (@martix79)

    Plugin Author Hector Cabrera

    (@hcabrera)

    See? No big deal ?? Glad you got it working (it looks great btw!)

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change stat info’ is closed to new replies.