Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

UpDownUpDown


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Apr 7, 2012, 06:21 PM
cajunman4life's Avatar
cajunman4life
 
7 posts · Mar 2012
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
  #2  
Old Apr 8, 2012, 05:00 AM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
you could put it in 'index.php - you will see the loop there.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Apr 8, 2012, 07:34 AM
cajunman4life's Avatar
cajunman4life
 
7 posts · Mar 2012
Would that make it show up on pages as well? Would I have to pre-qualify it with an is_post?
  #4  
Old Apr 8, 2012, 09:16 AM
juggledad's Avatar
juggledad
 
22,244 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Yes it should show up on both
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Apr 8, 2012, 01:22 PM
cajunman4life's Avatar
cajunman4life
 
7 posts · Mar 2012
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 10:47 AM.


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