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 » Center area post/pages »

SexyBookmarks Icons at bottom of category and tag posts


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 Jan 30, 2011, 08:43 PM
vCopia's Avatar
vCopia
 
72 posts · Jan 2011
Long Island, NY
I'm using SexyBookmarks by Shareaholic to display social networking and RSS-comment icons at the bottom of my posts. This plugin does not have an option to have them display on category and tag link pages, so I asked if there was a way to code that outside the plugin, and was told to place the code below wherever I want them to appear.

<?php if(function_exists('selfserv_shareaholic')) { selfserv_shareaholic(); } ?>

I've tried inserting it in various places within the ATO without success. Tried to get Sharaholic folks to be more specific as to where it should go for this purpose, but alas... no replies.

I know you don't support plugins, but figured you might be able to suggest where I could try inserting this code. Thank-you.
  #2  
Old Jan 31, 2011, 04:30 AM
juggledad's Avatar
juggledad
 
19,986 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
Well you could try putting that code in ato->Style & edit CENTER COLUMN->The LOOP with a little extra code.
change the line
HTML Code:
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
to
HTML Code:
<?php if ((is_category() OR is_tag()) AND (function_exists('selfserv_shareaholic')) { selfserv_shareaholic(); } 
bfa_post_footer('<div class="post-footer">','</div>'); ?>
  #3  
Old Feb 2, 2011, 06:31 AM
vCopia's Avatar
vCopia
 
72 posts · Jan 2011
Long Island, NY
Thanks so much for taking your time on this request. Unfortunately, when I added the code to the Loop I got the error below on each category or tag page, sometimes presented multiple times (probably for each post on that page.

Parse error: syntax error, unexpected '{' in /home/vcopia/public_html/wp-content/themes/atahualpa/functions.php(513) : eval()'d code on line 27

I know this is a plugin so I don't expect you to do more with it than you have. So, again, thanks again for your time.
  #4  
Old Feb 2, 2011, 07:10 AM
juggledad's Avatar
juggledad
 
19,986 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
oops, there was a missing ')' try this
HTML Code:
<?php if ((is_category() OR is_tag()) AND (function_exists('selfserv_shareaholic'))) { selfserv_shareaholic(); } 
bfa_post_footer('<div class="post-footer">','</div>'); ?>
not there are three ')'s before the '{'
  #5  
Old Feb 3, 2011, 01:36 PM
vCopia's Avatar
vCopia
 
72 posts · Jan 2011
Long Island, NY
Nope. No impact whatsoever.

SEXYB: Their orig code, alone, when added to the Loop, produces a duplicate row of icons at the bottom of each of my posts, except those on cat and tab pgs, where there are still none. So I know the code is good. (Dups due to my already selecting them in the plugin's admin section before trying out the above.)

ATO: Your orig. code is 'excellent, of course.

COMBINED: The combined version appears to work as if your code alone is in force.

So, I've thrown it back the Shareaholic (Sexy Bookmark Ds) with a brief description of what we've attempted via this chain, in hopes someone there responds.

Thanks again. Unless you get bored, or have a caffeine rush at 3am and want something to do, you don't have to reply again. I don't want to take your valuable time working on a plugin issue.

You're the best!
VC

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tag pages at the bottom of homepage bboobb Sidebars & Widgets 3 Jan 10, 2011 07:11 AM
Icons before each item in category bar aeriph Page & Category Menu Bars 0 Sep 13, 2010 06:38 AM
[SOLVED] Help with Atahualpa and Category Icons Vedder2k Header configuration & styling 3 Feb 2, 2010 07:38 AM
[SOLVED] Category icons seboush Header configuration & styling 6 Oct 17, 2009 10:45 AM
RSS posts and comments icons sirabi Header configuration & styling 1 Sep 8, 2009 03:06 AM


All times are GMT -6. The time now is 11:34 PM.


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