WordPress.org

Ready to get started?Download WordPress

Forums

WP Voting
Installation - where to put a code? (3 posts)

  1. Serge
    Member
    Posted 1 year ago #

    Wher exactly to put this code?

    It is NOT that much obvious.

    Add if(function_exists('wpv_voting_display_vote')) wpv_voting_display_vote(get_the_ID()); between the wordpress loop of your theme templates such as category.php or single.php

    Thank you!

    http://wordpress.org/extend/plugins/wp-voting/

  2. dreamgrowers
    Member
    Posted 1 year ago #

    I'm also wondering if you could elaborate a little on the location to put this code?

  3. ccalvogc
    Member
    Posted 1 year ago #

    Hi, friends

    you have to edit single.php file

    There you'll found something like this

    while ( have_posts() ) : the_post();

    Well, you have to change like that:

    while ( have_posts() ) : if(function_exists('wpv_voting_display_vote')) wpv_voting_display_vote(get_the_ID()); the_post();

    I hope it'll be usefull for you
    http://gincanaland.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.