Home Forums WoodMart support forum Share Buttons with text or title

Share Buttons with text or title

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #177466

    asendowski
    Participant

    Hello,
    Is it possible to share text and titles (e.g. with Pinterest)?

    #177473

    Hello,

    Yes, there is an option to share in the Pinterst. You will find the option to enable in the Theme Settings > Social Profiles.

    Best Regards

    #177476

    asendowski
    Participant

    Yes, but the sharing share only a picture with url …

    #177485

    asendowski
    Participant

    Yes, but its share only the picture with url – not the page title or a part of the text…

    #177552

    Hello,

    Please find this file: woodmart/inc/shortcodes/social.php

    Find this code:

    <a rel="nofollow" href="<?php echo 'follow' === $type ? esc_url(woodmart_get_opt( 'pinterest_link' )) : 'https://pinterest.com/pin/create/button/?url=' . $page_link . '&media=' . $thumb_url[0]; ?>" target="<?php echo esc_attr( $target ); ?>" class="<?php if( $tooltip == "yes" ) echo 'woodmart-tooltip'; ?> woodmart-social-icon social-pinterest">

    replace it with this code:

    <a rel="nofollow" href="<?php echo 'follow' === $type ? esc_url(woodmart_get_opt( 'pinterest_link' )) : 'https://pinterest.com/pin/create/button/?url=' . $page_link . '&media=' . $thumb_url[0] . '&description=' . urlencode( $page_title ); ?>" target="<?php echo esc_attr( $target ); ?>" class="<?php if( $tooltip == "yes" ) echo 'woodmart-tooltip'; ?> woodmart-social-icon social-pinterest">

    Best Regards

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