Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to replace sharing to VK with sharing to whatapp. Can you help me? Thank you! #326

Open
xiehaisen1986 opened this issue Jun 5, 2022 · 3 comments

Comments

@xiehaisen1986
Copy link

I want to replace sharing to VK with sharing to whatapp. Can you help me? Thank you!

I have replaced VK as the whatsapp in my topic, but I whatsapp not be able to call thumbnails when sharing, because I am at the entry level, maybe my code is not standardized enough, can you help me correct it? My website is: www.djkcc.cn。

@xiehaisen1986
Copy link
Author

{if $theme_config->social_vk}
<a href="whatsapp://send?text={$current.TITLE},view on Link:{$http_scheme}://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}{if isset($current.derivatives.large)}&media={$http_scheme}://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}/../{$current.derivatives.large->get_url()}{/if}"
onclick="window.open(this.href, 'vk-share', 'width=490,height=530');return false;" title="Share on Whatsapp"{if $theme_config->social_buttons} class="btn btn-sm btn-social btn-raised btn-vk"{/if}>
{if $theme_config->social_buttons} Whatsapp{/if}

{/if}

@xiehaisen1986
Copy link
Author

image

@xiehaisen1986
Copy link
Author

The correct thumbnail cannot be displayed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant