Social Sharing Buttons and Business/Event Detail Pages

This topic contains 4 replies, has 3 voices, and was last updated by  Kiran 7 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #277314

    whattodo-vi
    Full Member
    Post count: 187

    Hello,

    This is a third-party-plugin issue but I thought maybe you’d have a quick idea on what is going wrong.

    I needed more robust options than is offered by the social sharing functionality that comes with Geodirectory, so I’m using the AddToAny Share Buttons plugin. Almost to perfection.

    I’ve noticed that on some Business and Event detail pages, the social sharing buttons will not show up at the bottom of the post. I cannot figure out a common denominator among the listings that show the share buttons and the ones that don’t. This problem does not occur on blog posts, pages, widgets or in page templates — only in the content of listings on the detail page.

    Here are posts where the sharing buttons are displayed just fine:

    http://www.whattodo-vi.com/events/st-croix-movies-at-the-fort/?gde=2016-10-29

    http://www.whattodo-vi.com/places/island-cork-wine-shop/

    Here are posts where the sharing buttons will not display:
    (There are more of these.)

    http://www.whattodo-vi.com/places/st-john-market-deli/

    http://www.whattodo-vi.com/events/learn-to-dance-quadrille-in-st-thomas-free/?gde=2016-10-07

    Any idea why I could be having this intermittent problem? If so, any idea what to do about it?

    Thanks,
    Ashley

    #277426

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    did you try to ask for support to the plugin author?

    Let us know,

    Thanks

    #277950

    whattodo-vi
    Full Member
    Post count: 187

    Hi,

    Yes, and they told me that since the problem is only occurring on GD posts, then I needed to check with you. It works fine on pages, blog posts, sidebar widgets and page templates. Just not consistently on Business and Events GD Directory posts.

    Thanks,
    Ashley

    #278153

    Paolo
    Site Admin
    Post count: 31206

    Please provide a link and admin credentials and we will have a look.

    Thanks

    #278423

    Kiran
    Moderator
    Post count: 7069

    Hi Ashley,

    You have set “Apply description limit?” => Yes in price package setting. So it trims the business content if content exceed the limit.
    There are two ways to fix
    1) Remove or increase description limit
    2) Change ordering of hook

    I have changed order of hook by adding following lines in your child theme functions.php

    remove_filter( ‘the_content’, ‘geodir_payments_the_content’, 99);
    add_filter( ‘the_content’, ‘geodir_payments_the_content’, 97);

    Now sharing options working fine.

    Let us know,

    Kiran

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket