Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Number of votes #323
    RayJay
    Participant

    GOT IT WORKING… used this instead: <?php echo GetWtiLikeCount($post->ID);?>

    Thank you!!! now onto get that vote button working. 🙂

    Cheers,

    a

    in reply to: Number of votes #322
    RayJay
    Participant

    I used <?php echo GetWtiLikeCount($post_id)?> inside the div that will house the number of votes in my styled list…

    But it just shows a ‘0’… although there are votes.

    Any thoughts?

    Thank you!

    a

    in reply to: Number of votes #321
    RayJay
    Participant

    That last post may not have made sense…

    What do I wrap that “GetWtiLikeCount($post_id)” custom hook in? Do I have to mention it before the loop first… sorry for my noobiness.

    a

    in reply to: vote button code #320
    RayJay
    Participant

    Thank you so much! Is this how I implement or do I also need to call a function before the loop? Sorry, new at custom template pages….

    <div id="votethumb" class="button"><a rel="nofollow" data-nonce="{$data_nonce}" data-post_id="{$post_id}" data-task="like" class="lbg-style1 like-{$post_id} jlk"><span class="lc-{$post_id} lc">VOTE</span></a></div>

    I am SO close to launching my project… and I very much appreciate your help.

    a

    in reply to: Number of votes #318
    RayJay
    Participant

    Than you! is this how I implement?

    <div id="votesbox"><?php GetWtiLikeCount($post_id)?></div></div>

    a

    • This reply was modified 9 years, 6 months ago by RayJay.
    in reply to: vote button code #312
    RayJay
    Participant

    Could it be something like this? (this doesnt work but I think I’m close…

    <div id="votethumb" class="button"><input type="submit" name="1" value="1"><span>VOTE</span></></div>

    in reply to: Custom Hooks #308
    RayJay
    Participant

    Anyone know where I can find documentation on what the available hooks are? Says there are 3… but I cannot find any reference to them anywhere…

    Thanks in advance,

    a

    in reply to: Custom Hooks #304
    RayJay
    Participant

    UPDATE: I can pull in everything except total votes, vote button action, and rank… Also need to show my cpt’s by rank (number of votes).

    Can you tell me how to get this into the loop?

    I can’t find info on the custom hooks in the documentation. Thank you.

    A

    in reply to: Open and close voting dates #303
    RayJay
    Participant

    Thank you for your reply!

    That has sparked some good thinking on my end. I’ll let you know how that works out.
    Cheers,

    A

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