• Resolved Zeta3

    (@zeta3)


    Hi,
    Great plugin. I am also using the Random Content plugin. I have set AddToAny to show buttons only in posts single page, not in fixed pages etc. The buttons were being displayed also under the Random Coments in the side bar of the fully displayed posts (distorted in ocomedrev theme which I was trying out – ok in theme I have now). Got rid of buttons in side bar R.Contents by placing in my child theme code sugested in Add to Any readme.txt:

    function addtoany_disable_sharing_on_my_custom_post_type() {
    if ( ‘endo_wrc_cpt’ == get_post_type() ) {
    return true;
    }
    }
    add_filter( ‘addtoany_sharing_disabled’, ‘addtoany_disable_sharing_on_my_custom_post_type’ );`

    Everything seems to work fine, but when you use the facebook share button under a post, the excerpt shown is not from the related post, but from a Random Content text. Any solutions for a wordpress beginer like me? Thanks

    Site is: https://www.sevalepensar.com

    https://www.ads-software.com/plugins/add-to-any/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrong excerpt in facebook share button’ is closed to new replies.