Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

How to place addthis into byline


  #1  
Old Aug 28, 2010, 10:30 AM
annsworld
 
140 posts · Mar 2010
How to place addthis into byline

Hi,

I have this kind of code, that I would like to put into the byline. Or rather I would like a facebook, twitter and "more of addthis" button in the byline.
Code:
<div><div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<span class="addthis_separator">|</span>
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=annsworld" title="ann's world| Help and information for parrots and other birds" alt="share" class="addthis_button_expanded">mehr</a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=annsworld"></script></div>
How do I do this?

I got it to work in a side widget, but I would really much rather have it in the post's byline.

Thanks,
Ann.
  #2  
Old Aug 28, 2010, 03:36 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Have you tried adding that code the the byline boxes in ATO>Edit Post/Page Info Items?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Aug 29, 2010, 01:20 AM
annsworld
 
140 posts · Mar 2010
Um no, I thought I could only enter predefined items there following the syntax %item%??

Let me try...
  #4  
Old Aug 29, 2010, 01:29 AM
annsworld
 
140 posts · Mar 2010
Hi Larry,

ok - tried it. Several problems:

* it puts in a line break

* it does not show the facebook etc buttons


It does show the more text and the link is working. You can see it here.

The total code that I now have in the byline section of the ATO>Edit Post/Page Info Items is:

Code:
%date('d.m.Y')% | %comments('Leave a comment', 'One comment', '% comments', 'closed')% %edit(' | ', 'edit', '')% | <div><div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_email"></a>
<a class="addthis_button_print"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<span class="addthis_separator">|</span>
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=annsworld" title="ann's world| Help and information for parrots and other birds" alt="share" class="addthis_button_expanded">more</a>
</div>
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=annsworld"></script></div>
Thanks,
Ann.
  #5  
Old Aug 29, 2010, 04:27 AM
annsworld
 
140 posts · Mar 2010
line break is fixed by substituting span instead of div.
  #6  
Old Aug 29, 2010, 04:38 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
change your code to this in the byline
HTML Code:
%date('d.m.Y')% | %comments('Leave a comment', 'One comment', '% comments', 'closed')% %edit(' | ', 'edit', '')% <div class="addthis_toolbox addthis_default_style">
<a class="addthis_button_email"></a>
<a class="addthis_button_print"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_twitter"></a>
<span class="addthis_separator">|</span>
<a href="http://www.addthis.com/bookmark.php?v=250&amp;username=annsworld" title="ann's world| Help and information for parrots and other birds" alt="share" class="addthis_button_expanded">more</a>
</div>
then add this
HTML Code:
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=annsworld"></script>
at ato->Add HTML/CSS Inserts->HTML Inserts: Body Bottom
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Put AddThis in Kicker or Footer nick51 Post-Kicker, -Byline & -Footer 8 May 12, 2010 08:12 AM
AddThis widget location. pilsen1 Sidebars & Widgets 6 Oct 6, 2009 02:08 PM
[SOLVED] AddThis in post footers ahaze Post-Kicker, -Byline & -Footer 4 Sep 9, 2009 12:56 PM
want to place clickable icons in place of links (Home, About, etc.) agrossman Header configuration & styling 2 Aug 13, 2009 02:45 PM


All times are GMT -6. The time now is 07:05 AM.


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