WordPress.org

Ready to get started?Download WordPress

Forums

  1. RMJ
    Member
    Posted 1 year ago #

    The dev version completely breaks my social buttons. It's maybe my theme's fault. Is there some tag I should have in my footer.php because I don't see the javascript written anywhere.

    Other than that it seems to be workign fine (also the disabling image size check).

    I get the html added into the source but the javascript doesn't appera anywhere. This is the html part (should be fine):

    <!-- NextGEN Facebook OG Social Buttons BEGIN -->
    <div class="ngfb-content-buttons ngfb-buttons">
    <div class="facebook-button"><span class="fb-root"><fb:like
    		href="http://www.alizeeart.com/agenda/"
    		send="false" layout="button_count" width="400"
    		show_faces="true" font="arial" action="like"
    		colorscheme="light"></fb:like></span></div>
    <div class="gplus-button g-plusone-button"><span class="g-plusone" data-size="medium"
    		data-annotation="bubble"
    		data-href="http://www.alizeeart.com/agenda/"></span></div>
    <a href="https://twitter.com/share"
    		class="twitter-button twitter-share-button"
    		data-url="http://www.alizeeart.com/agenda/"
    		data-count="horizontal"
    		data-size="medium"
    		data-dnt="false">Tweet</a>
    
    			<div class="tumblr-button"><a href="http://www.tumblr.com/share/link?url=http%3A%2F%2Fwww.alizeeart.com%2Fagenda%2F&name=Agenda+2013&description=Agenda+2013+Old+events+has+been+archived+here%3A+++2013+January++2013-01-03++Broadcast+-+Star+Academy+9+Location%3A+20h35+on+NRJ12++Aliz%C3%A9e+will+attend+%28as+a+guest%29+Star+Academy+season+9+show.+She+will+sing+at+least+a+duet+and+possibly+solo+also.+The+broadcast+should+be+live%2C+so+it%27s+filmed+at+the..."
    				title="Share on tumblr"><img border="0"
    				src="http://platform.tumblr.com/v1/share_2.png"></a></div>
    
    </div>
    <!-- NextGEN Facebook OG Social Buttons END -->

    Btw, any chance you could add the twitter bit inside a div ? Now it's different from the others and causes trouble when writing CSS. At least to me it would make sense them to be inside same kind of tags.

  2. RMJ
    Member
    Posted 1 year ago #

    Nevermind, I had commented out wp_footer() in my footer.php

    Now it works fine. it's up on the main site.

  3. JS Morisset
    Member
    Plugin Author

    Posted 1 year ago #

    Ah, yes, the javascript is part of a filter on wp_footer(). ;-)

    I have to leave the "twitter-share-button" class on the anchor since the twitter javascript uses it. I moved the "twitter-button" class up into a div though. Let me know how things work out for you.

    I just released the stable 2.3 tag, so you should see 2.3 appearing as an update on your plugin page shortly.

    Thanks,

    js.

  4. RMJ
    Member
    Posted 1 year ago #

    Yeah, that should be more than enough. Just having them in the same kind of base tag is simplifying things a lot.

    When I first time styled them I assumed them all being inside DIV and well, things didn't go well when I did something like:

    .ngfb-buttons > DIV { display: inline-block; }

    It didn't work (because it didn't affect the twitter button) but then I got anyways the idea to float them on the left side (instead of having them on one line on top of the post). BTW, I just now noticed why it didn't work in the first place, I didn't even start to dig the reason back then (I always assumed the twitter button was also inside div element just like the others). Surely it wouldn't be big thing to style it without the div but well, it simplifies things. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags