Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   UpDownUpDown (http://forum.bytesforall.com/showthread.php?t=17236)

cajunman4life Apr 7, 2012 06:21 PM

UpDownUpDown
 
I'm exploring adding the plugin UpDownUpDown (http://wordpress.org/extend/plugins/...omment-voting/) to my site using Atahualpa. I'm having some difficulty figuring out where to place the code to call it. From the installation instructions:

Quote:

Place the following function calls in your templates, somewhere inside the post or comment loop:

<?php if(function_exists('up_down_post_votes')) { up_down_post_votes( get_the_ID() ); } ?>
I'm looking in functions/bfa_post_parts.php, but I'm not even sure if that's the right file (or where to place it in there). I'm thinking it needs to be somewhere in the function bfa_post_bodycopy (line 120).

Could anyone help me? Thanks in advance!

BTW - I'm using version 3.7.3

juggledad Apr 8, 2012 05:00 AM

you could put it in 'index.php - you will see the loop there.

cajunman4life Apr 8, 2012 07:34 AM

Would that make it show up on pages as well? Would I have to pre-qualify it with an is_post?

juggledad Apr 8, 2012 09:16 AM

Yes it should show up on both

cajunman4life Apr 8, 2012 01:22 PM

Hmm, guess I'll have to play around with it more when I have time. I only want it showing up on posts.


All times are GMT -6. The time now is 12:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.