Social share button doesn't work correct. When I click the Facebook or Twitter button it connect me to the pages but it doesn't grab intro image and header of the article. Instead It grabs the name of and description of the site. I have a plugin (Fast social share) wich works correct in the same articles, but I don't need two plugins with the same functions and prefer to use original from evonews template.
Social share buttons evonews templates
with twitter
You can do it yourself. There is Fast social share buttons on the bottom of the article and it works fine with facebook, twitter and whatsupp. It grabs the header and image of the article.
As I mentioned the problem is not only with facebook but with twitter too. Twitter button(evonews) doesn't grub the header of the articles.
With evonews button it grabs " https://czpz.org/index.php?option=com_content"
With Fast social share button it grubs "10 задържани в Силистра за фалшиви ТЕЛК-решения https://czpz.org/index.php?option=com_content&view=article&id=9959:10-задържани-в-силистра-за-фалшиви-телк-решения&catid=208:2018-12-15-08-35-24&Itemid=1315 чрез @centerprh"
Do you think it could probably be the problem with cache, compressing or something? I'm using Supercache manager provided by hosting. Joomla cahe is off. Template specific cache is off too. I've stopped/started Supercache without any effect.
Surprise! It is working with facebook now. I have no idea what happened. Twitter shows only link (https address) not text of header. Link is correct.
I've just enabled Fast social share.
It seems that the problem depends on button "Search Engine Friendly URLs" in Joomla global configuration. It started to grab the image and intro after i changed configuration to YES.
No it is not the same. That is from template:
https://czpz.org/jurisprudence/control-and-regulation/9989-------
And that is from plugin:
Министър Ананиев назначи проверка в ЦСМП - Русе https://czpz.org/jurisprudence/control-and-regulation/9989-министър-ананиев-назначи-проверка-в-цсмп-русе чрез @centerprh
From the template it grabs only address (https://czpz.org/jurisprudence/control-and-regulation/9989-------)
From the plugin it grabs not only the address but the header too:
" Министър Ананиев назначи проверка в ЦСМП"
Hi.
You could try this
Edit file : templates/gk_evonews/html/com_content/article/default.php
Line : 142
<a href="http://twitter.com/intent/tweet?source=sharethiscom&url=<?php echo $cur_url; ?>" target="_blank" title="Twitter" class="twitter icon-share-popup"><span class="fa fa-twitter"></span></a>
Change to
<a href="http://twitter.com/intent/tweet?source=sharethiscom&text=<?php echo urlencode($og_title); ?>&url=<?php echo $cur_url; ?>" target="_blank" title="Twitter" class="twitter icon-share-popup"><span class="fa fa-twitter"></span></a>
Regards.
Yes it works! Thanks, great support!