Home Forums WoodMart – Premium Template Follow vkontakte

This topic contains 5 replies, has 3 voices, and was last updated by Artem Temos Artem Temos 1 week, 6 days ago.

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

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

    Private Content Hidden
    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

    Everything is done, everything is also, check for yourself

    Private Content Hidden
    #167919

    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

    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

    We will fix both issues in our next theme update.

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

You must be logged in to reply to this topic.