Home Forums WoodMart support forum Follow vkontakte

Follow vkontakte

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #167779

    adio060693@mail.ru
    Participant

    Hello, I click to share goods via VKontakte. Link to product and image is not attached

    Attachments:
    You must be logged in to view attached files.
    #167845

    Hello,

    You need to make sure that the link for the “VK” is correct. Also deactivate all the third party plugins and then check back once after clearing your site and browser cache.

    Best Regards.

    #167847

    adio060693@mail.ru
    Participant

    Everything is done, everything is also, check for yourself

    #167919

    Artem Temos
    Keymaster

    Try to edit the file woodmart/inc/shortcodes/social.php and replace this code

    <?php if ( $type == 'share' && woodmart_get_opt('share_vk') || ( $type == 'follow' && woodmart_get_opt( 'vk_link' ) != '' ) )?>
    					<a rel="nofollow" href="<?php echo 'follow' === $type ? ( woodmart_get_opt( 'vk_link' )) : 'https://vk.com/share.php?url=' . $page_link; ?>" target="<?php echo esc_attr( $target ); ?>" class="<?php if( $tooltip == "yes" ) echo 'woodmart-tooltip'; ?> woodmart-social-icon social-vk">
    						<i class="fa fa-vk"></i>
    						<span class="woodmart-social-icon-name"><?php esc_html_e('VK', 'woodmart') ?></span>
    					</a>
    				<?php endif ?>

    with this one

    <?php if ( $type == 'share' && woodmart_get_opt('share_vk') || ( $type == 'follow' && woodmart_get_opt( 'vk_link' ) != '' ) )?>
    					<a rel="nofollow" href="<?php echo 'follow' === $type ? ( woodmart_get_opt( 'vk_link' )) : 'https://vk.com/share.php?url=' . $page_link . '&image=' . $thumb_url[0]; ?>" target="<?php echo esc_attr( $target ); ?>" class="<?php if( $tooltip == "yes" ) echo 'woodmart-tooltip'; ?> woodmart-social-icon social-vk">
    						<i class="fa fa-vk"></i>
    						<span class="woodmart-social-icon-name"><?php esc_html_e('VK', 'woodmart') ?></span>
    					</a>
    				<?php endif ?>
    #167938

    adio060693@mail.ru
    Participant

    excellent, the link works, the image is attached, there is not enough product name line

    Attachments:
    You must be logged in to view attached files.
    #168010

    Artem Temos
    Keymaster

    We will fix both issues in our next theme update.

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