New Landing How can we help? Themeforest Theme Support Dante Include social sharing option

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Dante
  • #68143
    esucces
    Member
    Post count: 80

    Hi Dante Team

    When creating post/pages, there is an option to “Include social sharing”. I don’t want my users to be able to include sharing, can I somehow hide this option?

    Thanks
    Jan

    #68256
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    1-Please go to Admin -> Theme Options -> Blog Post Meta -> include social sharing -> untick this and update options .

    2-Please put this custom css at Admin -> Theme Options -> Custom CSS => Here put this code and update options body.single div.share-links{display:none;}

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #68260
    esucces
    Member
    Post count: 80

    Sorry Mohammad, but I dont have “Blog Post Meta” in Dante theme options?

    #68268
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Which theme version is being used by you ?
    Thanks

    #68269
    esucces
    Member
    Post count: 80

    2.52

    #68276
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    It should be there . May I have screenshot for Theme option page ?
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #68430
    esucces
    Member
    Post count: 80
    #68562
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check Default Meta options and let me know your feedback or you can use this css to hide social share icons body.single div.share-links{display:none;} . Hopefully it will work to you

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #68601
    esucces
    Member
    Post count: 80

    Default meta option – no share options:
    http://prntscr.com/3bouwx

    I already tried body.single div.share-links{display:none;} with no luck.

    /Jan

    #68603
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide always website URL to get exact and quick solution .

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #68605
    esucces
    Member
    Post count: 80
    This reply has been marked as private.
    #68606
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide admin login access to view website .
    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #68607
    esucces
    Member
    Post count: 80
    This reply has been marked as private.
    #68695
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I have resolved the issue just putting some code in functions.php under child theme directory .

    add_action( 'admin_head', 'admin_css' );
    function admin_css() {
        global $current_user; 
    get_currentuserinfo(); 
     if ( user_can( $current_user, "subscriber" )  ){ //or user_can( $current_user, "administrator" )
        echo '<style>label[for="sf_social_sharing"],input#sf_social_sharing,p#sf_social_sharing_description{display:none}</style>';
      }
    }

    Thanks ๐Ÿ™‚
    With Best Regards
    Swift Ideas

    #69043
    esucces
    Member
    Post count: 80

    Great, well done ๐Ÿ™‚

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register