Forums

[Plugin: AddToAny: Share/Bookmark/Email Button] After Latest Update AddToAny Not Working On Posts (35 posts)

  1. mal2809
    Member
    Posted 1 year ago #

    I updated AddToAny today and it does not show now on the post pages, caching is off.

    It does show on the front page excerpts but not in the actual posts.

    Site is http://www.darkrealmfox.com.

    I checked settings and everything is as it should be.

    http://wordpress.org/extend/plugins/add-to-any/

  2. micropat
    Member
    Posted 1 year ago #

    When did you last upgrade the plugin? Any idea which AddToAny version you were using before?

  3. mal2809
    Member
    Posted 1 year ago #

    Whatever the issue is seems related to a problem with adding the featured content section into a widget below the header bar when using Suffusion.

    It works on the theme owners site and no one else seems to have the problem.

    Whatever it is is also messing the site up but only when viewed in Google Chrome, absolutely fine on all the other browsers.

    Site is http://www.darkrealmfox.com

    I do not see an issue with code and have not altered any code in Suffusion or WordPress so i don't know whats going on. It's baffling me since disabling featured content below the header actually brings the add/share buttons back and also makes my site work fine in Google Chrome.

    I pass WC3 validation so i don't see any bad code, not altered any either so like i say it's baffling me.

    I tried disabling plugins on the current page too with no luck.

  4. mal2809
    Member
    Posted 1 year ago #

    Oh i did add <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

    Thats because I.E. 8 was really not displaying content correctly and text was all small but that code which is in the meta section fixed it.

    I did remove that code but it does not fix the Add/Share and Google Chrome issues with my site.

  5. micropat
    Member
    Posted 1 year ago #

    Thanks for the details and thorough troubleshooting. Fortunately I was able to reproduce it, and you're right, it has to do with the "featured content" section. The next version of the plugin, version .9.9.5.7, should work around these types of theme issues. Please report back when you give it a try. The next release should land sometime this weekend. :)

  6. mal2809
    Member
    Posted 1 year ago #

    Thanks for the update, i'll let you know after i test it out.

  7. mal2809
    Member
    Posted 1 year ago #

    Just tested after the latest update and the buttons are still not showing in my posts.

    De-activating featured content in Suffusion restores the button.

    Not sure if this is a theme specific problem or happening on other themes.

  8. micropat
    Member
    Posted 1 year ago #

    Crazy. Using the latest versions, I could not reproduce the problem you're having. I used Suffusion theme version 3.5.3 with "Featured Posts" displayed below the header on single posts, and AddToAny plugin version 9.9.5.7. The button displays appropriately.

    If we're using the same versions, it must be a setting somewhere that's fouling things up.

    One option, if you still can't figure this out, would be to un-check "Display Share/Save button at the bottom of posts" in AddToAny settings, then hard-code the button in your theme's files with the following code:
    <?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

    I'd love to know if you discover anything more.

  9. James
    Happiness Engineer
    Posted 1 year ago #

    mal2809, are you using any caching plugins? That could be a reason for why the problem continued, even after applying the update that was intended to fix it.

  10. mal2809
    Member
    Posted 1 year ago #

    I'll try clearing the plugin cache and also disabling it.

    The plugin i use is DB Cache Reloaded.

    Ok that didn't work.

    I have added a text alignment code as per the theme makers instructions into the custom includes - custom styles section of Suffusion, i'll try taking that out too just to see if thats the issue.

    That code is p, .p {
    text-align: left;
    }

    Ok taking that out and clearing the cache didn't work.

    I will try the code directly into the theme.

  11. mal2809
    Member
    Posted 1 year ago #

    Ok i tried putting the code directly in to the single.php file <?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

    It didn't work for me, i tried five different locations within the file.

    Is there a specific place to put that code to get it to work.

    I am also going to try disabling the Related Posts plugin just in case that is somehow the problem.

  12. mal2809
    Member
    Posted 1 year ago #

    Have tried deleting AddToAny and that includes deleting the entires in the database using PHPMYAdmin.

    I then re-installed and its still not showing in posts.

    Everything worked fine for me before the last two updates, not sure if this is a conflict with one of my plugins but thats highly likely and i may try disabling them one by one soon to check this out.

    Using the plugins below.

    AddToAny: Share/Bookmark/Email Button

    Bad Behavior

    cbnet Ping Optimizer

    Contextual Related Posts

    Count Per Day

    Custom Post Limits

    DB Cache Reloaded

    Dean's FCKEditor For WordPress

    Fast and Secure Contact Form

    Google XML Sitemaps

    Gurken Subscribe to Comments

    Invisible Defender

    Light SEO

    NextGEN Gallery

    Ozh' Better Feed

    Page Management Dropdown

    Secure WordPress

    Simply Exclude

    Table of Contents Creator

    Top 10

    Ultimate Noindex Nofollow Tool

    User Locker

    WordPress Admin Bar

    The WordPress Mobile Pack with mpexo

    WP-Optimize

    WP System Health

  13. micropat
    Member
    Posted 1 year ago #

    Ok i tried putting the code directly in to the single.php file

    The WP Theme Editor didn't work for me either. The theme has two single.php files and the Theme Editor lets you edit the wrong one. So you'd need to manually edit the single.php file located in the plugin's root directory.

    Everything worked fine for me before the last two updates

    Can you try older AddToAny versions to see if one brings the button back on your single post pages: http://wordpress.org/extend/plugins/add-to-any/download/

    Thanks again for troubleshooting this.

  14. mal2809
    Member
    Posted 1 year ago #

    I rolled back to an earlier version of AddToAny from a stored backup from April, still doesn't work although this is just stored files so perhaps the database had some changes in the latest edition.

    I then rolled back to an earlier version of Suffusion - 3.4.9 and checked again, still didn't have the buttons on the post pages, only on the front home page despite setting up for posts.

    I also disabled DB Cache Reloaded but that didn't work.

    I'll try editing the file you mention using FTP and putting it directly into the post pages using the single.php file.

  15. mal2809
    Member
    Posted 1 year ago #

    My settings are:

    Placement.

    All boxes ticked except Display Share/Save button at the bottom of pages

    Menu Options.

    I only have one box unticked and thats the one below.

    Only show the menu when the user clicks the Share/Save button

    In Advanced options i have Use CSS Stylesheet ticked and below that is the cache box which is unticked.

    Incidentally i did go to the official site and fill in the Locally cache script, i then changed my mind on that, would that cause a problem. ?

  16. mal2809
    Member
    Posted 1 year ago #

    OK so i move the featured content section to below footer instead of below header and the AddToAny buttons are back on the post pages.

    It cannot be a plugin issue, it has to be some sort of issue between Suffusion and that widget area and AddToAny.

    Placing featured content above footer works fine, it only is a problem when placing it below the header area in Suffusion.

    I'm going to post about it in the Suffusion forum, perhaps the theme owner might have a workaround for this.

  17. mal2809
    Member
    Posted 1 year ago #

    Sayontan who handles the Suffusion theme suggests this is a plugin issue.

    He said this below which you can see in his forum for the theme.

    Before I venture an answer is the plugin enabled for single posts at present? I ask because when I look at your page source I see the plugin code multiple times in the featured content section, but never in the main content. This would typically mean that the plugin failed to invoke for the single post itself, in which case it is a bug that needs to be resolved by the plugin author.

    The order of markup creation is top to bottom. So your Widget Area below Header is created first, then your posts and then the widget area above footer. So maybe the script executes the first time it is found (in the header) and that causes a problem for the main post. The same doesn't happen for the footer, where the script goes after being shown in the main content. Mind you, this is all guesswork - I have no clue how the plugin is built internally.

    If you can fix this it would be great but if not i can live with having it only on the front page of the site.

  18. micropat
    Member
    Posted 1 year ago #

    Thanks for the update! Since I have it working locally, your setup is most suspect right now until someone else can reproduce the problem. You seem to have done a good job of troubleshooting, but there may still be something amiss...

    Can anyone else reproduce?

    Suffusion 3.5.3: http://wordpress.org/extend/themes/suffusion
    AddToAny .9.9.5.7: http://wordpress.org/extend/plugins/add-to-any/

    If you can post again in the theme's forum, I'd be interested to know if any other Suffusion theme users can reproduce the problem.

    If you can fix this it would be great but if not i can live with having it only on the front page of the site.

    You should be able to make it work on single pages by placing <?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?> in your theme's single.php file. Though you'll need edit the file manually because the theme editor chooses the wrong single.php file.

    Still, it would be most ideal to figure out what's wrong with your automatic placement. :)

  19. mal2809
    Member
    Posted 1 year ago #

    I wouldn't rule out something at my end but i'm baffled as to what it could be, i have looked carefully at the settings and the only cause of the issue is enabling featured posts in the widget area below header.

    I'll have to think carefully about this and if i can think of anything i'll get back to you, for now i'm ok with just having the buttons on the front page.

  20. James
    Happiness Engineer
    Posted 1 year ago #

    You mentioned that you "tried disabling plugins on the current page," but have you tried to disable all plugins yet (regardless of page)?

  21. Sayontan Sinha
    Member
    Posted 1 year ago #

    Though you'll need edit the file manually because the theme editor chooses the wrong single.php file.

    You can actually use the theme editor to edit single.php. See here for instructions.

  22. mal2809
    Member
    Posted 1 year ago #

    I disabled the plugins one by one yesterday and checked and it was still a problem.

    I'm never satisfied with the look of the site so will probably change things soon and i have been thinking of going with the tile look rather than excerpt and if i do that i may do something different with the featured content widget.

    Anyway as regards the buttons, i think i'll try the single.php file and look to put it in there, the trouble with doing that is when the theme updates you have to redo it and i always forget and several days pass before i get around to it again.

  23. Lynn
    Member
    Posted 1 year ago #

    I'd like to exclude the Add to Any Share button from one page (a shopping cart contents page), but I can't find any instructions on how to exclude just a specific page. It looks like I can modify a template, but I don't want to make a global change, I just want to keep the button off a checkout page.

    Any ideas?

  24. Sayontan Sinha
    Member
    Posted 1 year ago #

    @artsmo,
    Normally a little more information would be immensely helpful, like your URL and which theme you are using.

    Sayontan.

  25. Lynn
    Member
    Posted 1 year ago #

    I think posted my question about excluding the Add to Any Share button in the wrong thread.

    In any case, I found the answer at http://wordpress.org/support/topic/365560?replies=5

    Just put this in any page or post where you want to exclude the Add to Any Share button:
    <!--nosharesave-->

    This is a generic issue/solution, not related to any particular theme.

  26. Sayontan Sinha
    Member
    Posted 1 year ago #

    Cool. Thanks for the link.

  27. jharris68
    Member
    Posted 1 year ago #

    I have the latest version of AddToAny and for some reason right next to the button is this: //-->

    Any help would be appreciated.

  28. micropat
    Member
    Posted 1 year ago #

    @jharris68 Can you provide a link to your blog? Did you setup AddToAny in any special way since activating the plugin? What theme are you using?

  29. poddys
    Member
    Posted 1 year ago #

    I have the latest version of AddToAny and for some reason right next to the button is this: //-->

    I am seeing this on my sites too, and for some reason it is causing a 2nd post to show where the sidebar should be, with the sidebar way down the page, basically corrupting the display.

    I disabled plugins 1 by 1 and it appears to be Add To Any that is the issue.

    I am using the same theme on 3 sites, and have been usign Add To Any for over a year. It doesn't matter if I am on WP 3.0 or 3.0.1

    I have disabled Add To Any for now until the problem can be fixed, but can re-activate if necessary to help identifying the problem.

  30. micropat
    Member
    Posted 1 year ago #

    In poddys's case (we troubleshot outside this thread), the //--> output was caused by nested HTML comments due to a customization he made.

    His blog was outputting the post content twice: once regularly, once inside an HTML comment. So he had AddToAny's HTML-commented JavaScript nested within another HTML comment, thus breaking the HTML comment syntax and bleeding //--> onto his posts.

    If anyone else has this problem and it's not due to a nested HTML comment, it's quite possibly a problem with the theme being used.

Topic Closed

This topic has been closed to new replies.

About this Topic