-
AuthorPosts
-
October 19, 2017 at 6:23 pm #866384
Hi @Kriesi,
I’ve an issue with the Social Share Buttons Element. It’s at the end of the main page at https://testdrive.artig.st/
They do not get the right URL https://testdrive.artig.st/ but these:
– http://www.facebook.com/sharer.php?u=https://testdrive.artig.st/artigxx/fotoblog-artig17/&t=Fotoblog%20artig%E2%80%9917
– https://plus.google.com/share?url=https://testdrive.artig.st/artigxx/fotoblog-artig17/
– http://vk.com/share.php?url=https://testdrive.artig.st/artigxx/fotoblog-artig17/
and so on…I think, this wrong URL they get from the latest slide of the Featured Image Slider on the top of the page, which also points to https://testdrive.artig.st/artigxx/fotoblog-artig17
When I change the latest slide to another, the Social Share Buttons are getting the URL of the other one.Thanks for help
StephanOctober 20, 2017 at 9:32 am #866637Hey Stephan,
Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.
Best regards,
RikardOctober 20, 2017 at 5:21 pm #866807Hi Rikard,
see below – and thanks ;-)October 23, 2017 at 4:05 am #867422Hi,
The open graph meta which is the data that is required by facebook, google+ and other social media site is not specified. Please install the following plugin.
// https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/
You can also use the WordPress SEO plugin.
Best regards,
IsmaelOctober 24, 2017 at 2:01 am #867931Hi Ismael,
thanks, but I’m a little bit confused. To understand it: For the correct and bugless use of the built in Enfold Social Share Buttons Element, I need an additionial third party plugin?
Best regards
StephanOctober 24, 2017 at 2:12 am #867936PS: I have other sites running with Enfold, and there the Social Share Buttons Element works without open graph plugs.
October 24, 2017 at 6:53 am #867999Hi,
I’m not sure why facebook fetches another url but specifying the open graph meta for each page should help. You can also try to re-scrape the pages’ data.
// https://developers.facebook.com/tools/debug/
Best regards,
IsmaelOctober 25, 2017 at 3:13 pm #868764Hi Ismael,
I don’t think, we’re talking about the same issue. It’s an Enfold bug, and not somewhere at Facebook, Google+ and so on.
Please take a look at the two screenshots in the image below: The URL (see mouseover info at the bottom of the browser) for example at the Google+ Button in the Enfold Social Share Buttons Element fetches – why? – not anything but the URL of the last slide of the Featured Image Slider on the top of the page.
This can be proofed by changing the settings of the slider: The buttons always get the URL of the last slide.Best regards
StephanOctober 26, 2017 at 8:05 am #869118Hi,
Yes, I was talking about that. Did you try the plugin or re-scrape the data?
Best regards,
IsmaelOctober 26, 2017 at 5:19 pm #869261Hi Ismael,
ok ;-)
I didn’t try the plugin yet, because I don’t know: Will it also repair the wrong e-mail link ( mailto:?subject=Fotoblog%20artig%E2%80%9917&body=https://www.artig.st/artigxx/fotoblog-artig17/ ) in the Enfold Social Share Buttons Element?And: Where can I re-scrape the data? At https://developers.facebook.com/tools/debug/ ? So I think this won’t repair the other wrong URLs for VK ( http://vk.com/share.php?url=https://www.artig.st/artigxx/fotoblog-artig17/ ) or G+ ( https://plus.google.com/share?url=https://www.artig.st/artigxx/fotoblog-artig17/ ) and so on…?
Thanks for any advice and best regards
StephanOctober 28, 2017 at 3:56 pm #869932Hi,
Yes, it should fix the invalid url. You can re-scrape the data after installing the open graph meta plugin. ( see private field )
Best regards,
IsmaelOctober 28, 2017 at 4:47 pm #869965Hi,
sorry, but installing the https://wordpress.org/plugins/wonderm00ns-simple-facebook-open-graph-tags/ and re-scraping didn’t change anything.
All Buttons in the Enfold Social Share Buttons Element are still fetching the URL of the last slide of the Featured Image Slider on the top of the page (https://www.artig.st/artigxx/fotoblog-artig17/)FYI: I re-scraped for https://www.artig.st and not for http://testdrive.artig.st, because we wen’t live last week.
For a test, I duplicated the start page (see https://www.artig.st/duplicate-home/ ), deleted the slider, and all buttons have the right URL.
Best regards,
StephanOctober 30, 2017 at 6:39 am #870347Hi,
Thank you for the update. Please try this filter in the functions.php file.
add_filter('avia_social_share_link_replace_values', 'avia_social_share_link_replace_values_mod'); function avia_social_share_link_replace_values_mod($replace) { $replace['shortlink'] = get_permalink(); $replace['permalink'] = get_permalink(); return $replace; }
Best regards,
IsmaelNovember 19, 2017 at 11:37 pm #878899Hi Ismael,
sorry, but this does’nt change anything. All nine Social Share Buttons of the avia social share element are still fetching the URL to the post of the fifth and last slide in the avia featured image slider at the top of the page.
Even the E-Mail-Button wants to share the “https://www.artig.st/kunstausstellungen/5zig/” – which currently is the link of the last slide.
Best regards,
StephanNovember 21, 2017 at 5:06 am #879475Hi,
I inspected the page markup but I can’t find the og meta. Please post the login details again because the previous one is not working anymore. We would like to check the dashboard. Make sure that the Appearance > Editor panel is accessible.
Best regards,
IsmaelDecember 1, 2017 at 3:18 pm #883916Hey Ismael,
I thought, I had posted the login data again some weeks befor, but now I can’t see it. Perhaps I forgot to hit the submit button… sorry. Now once again below…
Best regards
StephanDecember 4, 2017 at 4:51 am #884506Hi,
Thank you for the info. I’m trying to modify the functions.php file but it’s loading endlessly when I clicked the update button. Please replace the filter with the following code.
/* Korrektur Social Share Element zieht falsche URL */ add_filter('avia_social_share_link_replace_values', 'avia_social_share_link_replace_values_mod'); function avia_social_share_link_replace_values_mod($replace) { if(is_page(2)) { $per = 'https://www.artig.st/'; $replace['shortlink'] = $per; $replace['permalink'] = $per; } return $replace; }
Best regards,
IsmaelDecember 13, 2017 at 6:17 pm #888496Hi Ismael,
ok, I replaced it. But that’s more an overwriting hack for a single page, than it solves the bug with the social share element, which is fetching the wrong URL from the last slide of the featured image slider above.
And in some buttons now there is no more the wrong URL but still the wrong description or title-text. That makes no sense, sorry.Best regards,
StephanDecember 14, 2017 at 2:35 am #888701Hi,
ok, I replaced it. But that’s more an overwriting hack for a single page no more the wrong URL but still the wrong description or title-text
Yes, unfortunately, that’s what we’re trying to do here because the previous workarounds are not working. For the description, we will have to use the same filter with additional parameters.
/* Korrektur Social Share Element zieht falsche URL */ add_filter('avia_social_share_link_replace_values', 'avia_social_share_link_replace_values_mod'); function avia_social_share_link_replace_values_mod($replace) { if(is_page(2)) { $per = 'https://www.artig.st/'; $replace['shortlink'] = $per; $replace['permalink'] = $per; $replace['title'] = 'Elsa Nietmanns Leidenschaft für Bewegung zieht sich als thematischer Leitfaden durch ihre Werke. In ihrer Ausstellung TRAGENDE STRUKTUREN im Kunstreich dreht sich ebenfalls alles um Bewegung, den Bewegungsapparat, die zugrunde liegende Struktur. Holzskulpturen und Objekte aus Eisen und Beton. Mensc...'; } return $replace; }
Best regards,
IsmaelFebruary 2, 2019 at 4:11 pm #1062014Hi!
I have the same problem. I have entered the links to my social media profile icons, but the links that appear on my website are wrong/don’t work. Please help.Sofia
February 5, 2019 at 3:41 pm #1063201Hi,
@SofiaTrippy: Could you give us a link to one of the posts where we can see the icon? I can’t seem to find any post with the sharing section.Best regards,
IsmaelJanuary 22, 2020 at 4:59 pm #1177228I’m also having a similar issue. In the Enfold Theme Options Blog Layout control panel, I have all the share links turned off. But on one of my posts that has the Social Share Buttons widget, it’s showing Yelp. I don’t have a Yelp profile nor do I have the Yelp element checked off. See my credentials below.
January 23, 2020 at 7:12 pm #1177814Hi ashforthmarketing,
Please deactivate all plugins one by one to check which one is causing this issue and let us know if this solves the problem.
Best regards,
VictoriaJanuary 23, 2020 at 8:13 pm #1177841@Victoria
Very strange. I deactivated the plugins and it didn’t go away until all of them were off, but then I turned them all back on, one by one, and the issue didn’t return. We may never know, but the problem is now gone. Thanks for your help.January 24, 2020 at 9:07 am #1178034Hi ashforthmarketing,
Great, I’m glad that you got things working and thanks for the update :-)
Best regards,
RikardMay 13, 2020 at 12:48 pm #1212596Hi there,
I have the same problem. When I try to share this post (https://rooshert.nl/de-viltbloemist-maakt-ook-viltbloemen-voor-afscheid/) on facebook, it gives the wrong url.
Can you please help me out?
- This reply was modified 4 years, 6 months ago by vandenbusken.
May 14, 2020 at 7:38 am #1212860Hi vandenbusken,
I can’t reproduce the problem on my end: https://imgur.com/a/RMyE1Ks
Best regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.