Plugin WP PostViews

  • Alain RONK

    #3760

    Hello,

    I installed the plugin PostViews.

    I would like display the count only of my home page.

    – Where I copy the code for Graphene, please ?

    <?php if(function_exists(‘the_views’)) { the_views(); } ?>

    – Is’t possible to have a column in the admin for the page menu as the column for the post page, please ?

    Mod

    Kenneth John Odle

    #25852

    Try using a Graphene Action hook widget area, along with the PHP widget, and insert this code in a PHP widget on your home page only.

    See this tutorial:

    http://blog.kjodle.net/2011/11/04/graphene-action-hook-widgets-an-easy-way-to-modify-your-blog/

    Prasanna SP

    #25853

    Action hook and php widget.

    Hint: graphene_post_meta hook

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

You must be logged in to reply to this topic.

Do NOT follow this link or you will be banned from the site!