WP post stat plugin thru custom CSS?

  • 007me



    wondered if there’s a way to implement the “wp post stats” plugin thru the custom CSS.

    As each time I’m updating the theme I have to re-enter the code in the specific page files as explained here:


    Or maybe this can be implemented thru Action hooks? cause I tried it with the line they are saying we need to add but it showed the code itself on the page.




    Kenneth John Odle


    Yes, but you will need to use a PHP widget to add the code, as ordinary text widgets can’t parse PHP.

    That’s a bad plugin design that requires you to edit theme files to implement it.



    I agree this is a bad plugin design, are you familiar with similar one that will show a counter under each post/page of how many readers read it?

    If not, which PHP widget do you recommend? And how to configure it?

    Also, if this is a widget, how can I add it under the post or page so it will be part of it?

    Thanks a lot for your help.



    Syahir Hakim


    What about this plugin: http://wordpress.org/plugins/top-10/



    Ok, managed to work it out with this plugin: “Enhanced Text Widget” and the action hooks!


    What about this plugin: http://wordpress.org/plugins/top-10/

    Syahir, I will check your recommendation as well.




    Syahir, tried the top 10, but it start counting from zero, so I will lose all my counts till today 🙁

    I’ll stick with the solution I’ve mentioned above with the great help of your Action Hooks.

Viewing 7 posts - 1 through 7 (of 7 total)

  • You must be logged in to reply to this topic.