• Resolved viktorperm

    (@viktorperm)


    Hi,

    I have a fairly simple problem.

    Currently, my addtoany buttons appear everywhere on my website, including front page, posts, categories etc.

    I have the option “Display at the bottom of excerpts” checked.

    Now the thing is, I want the buttons to only appear on posts. Not on front page or categories.

    I have tried multiple placement settings, but every time the buttons still appear on the front page.

    Can you help me on that? I already checked the FAQ, but couldn’t find a good answer. Is there maybe a code that prevents the buttons to load on front page?

    Thanks

    https://wordpress.org/plugins/add-to-any/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author micropat

    (@micropat)

    What theme are you using?

    In the Placement section, uncheck “Display at the bottom of posts on the front page” and “Display at the bottom of excerpts.”

    If those options aren’t working on your site, add a line of custom CSS code to your site using a “custom CSS” plugin or feature of your theme:
    .home .addtoany_share_save_container { display: none; }

    Thread Starter viktorperm

    (@viktorperm)

    Thanks for the quick response!

    I tried adding your code like this into my CSS:

    .addtoany_share_save_container { display: none; }

    but it didn’t do anything. The buttons were showing on every page, even not using something like .home

    I am using a custom share button though (custom facebook.png), don’t know if that has any relevance.

    My theme is called sociallyviral from mythemeshop.

    You have an idea?

    Plugin Author micropat

    (@micropat)

    Sounds like a caching issue if that CSS has no effect. Make sure you purge all site caches.

    I have the option “Display at the bottom of excerpts” checked.

    That option should be unchecked for what you want.

    Thread Starter viktorperm

    (@viktorperm)

    I’ve unchecked everything under “Placement” in the settings and added the CSS code again.

    The floating button is still showing everywhere. I flushed cache every time I made changes..

    Maybe it has to do with the “Use default CSS” option under advanced settings?Any idea?

    My website is http://www.buzzlegend.com

    Plugin Author micropat

    (@micropat)

    Ah, you’re referring to the floating buttons. Yes, the floating buttons, when enabled, appear on all pages by default.

    See this topic:
    https://wordpress.org/support/topic/how-to-display-floating-buttons-on-posts-only

    Thread Starter viktorperm

    (@viktorperm)

    Yes, sorry for the misunderstanding!

    It works now! Many thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dont show buttons on frontpage’ is closed to new replies.