Forum Replies Created
-
AuthorPosts
-
RayJayParticipant
GOT IT WORKING… used this instead:
<?php echo GetWtiLikeCount($post->ID);?>
Thank you!!! now onto get that vote button working. 🙂
Cheers,
a
RayJayParticipantI 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
RayJayParticipantThat 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
RayJayParticipantThank 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
RayJayParticipantThan 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.
RayJayParticipantCould 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>
RayJayParticipantAnyone 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
RayJayParticipantUPDATE: 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
RayJayParticipantThank you for your reply!
That has sparked some good thinking on my end. I’ll let you know how that works out.
Cheers,A
-
AuthorPosts