WP post stat plugin thru custom CSS?

  • 007me

    #7819

    Hi,

    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:

    http://wordpress.org/plugins/wp-post-stats/installation/

    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.

    Thanks,

    Udi

    Mod

    Kenneth John Odle

    #39477

    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.

    007me

    #39478

    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.

    Udi

    Admin

    Syahir Hakim

    #39479

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

    007me

    #39480

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

    007me

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

    Syahir, I will check your recommendation as well.

    thanks.

    007me

    #39482

    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.