So last week I had a problem with my pinterest button : https://kriesi.at/support/topic/share-this-social-icons-font-hover-color/#post-642677
Which was ‘fixed’. However, when I try to pin the page: http://heaven11audio.com/
I get this error from Pinterest.
‘Oops!
Parameter ‘image_url’ (value http:) is not a valid URL format.’
What do I need to do guys?
Hey Itai,
Try changing the code to:
add_filter('avia_social_share_link_arguments', 'modify_pinterest_pattern', 10, 1);
function modify_pinterest_pattern($args)
{
$args['pinterest'] = array("encode"=>true, "encode_urls"=>true, "pattern" => "http://pinterest.com/pin/create/link/?url=[permalink]&description=[title]&image_url=[thumbnail]");
return $args;
}
Best regards,
Josue
I got this error:
(see private content)
Are you replacing the old code? i just changed media
for image_url
in the pattern line.
Best regards,
Josue
Ok there was something wrong when I pasted the first time.
But now I still get the same old error. Should I be inserting my values for [permalink] [title] & [thumbnail]?
Revert the change, media
should work. Where are you getting the error? when sharing the Page through the button? can you post a screenshot of your view?
Best regards,
Josue
I have reverted, doesn’t work, same error.
Here are the screenshots:
code:
Pinterest share button pressed (notice there is no image associated with the pin)
Pinterest error:
Hi,
Does the homepage has a featured image set?
Regards,
Josue
aha!
didn’t know I had to set the featured image. Done. Now everything works fine.
Thanks Josue!
You are welcome, glad to help :)
Regards,
Josue