Questions tagged [social-sharing]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
239 views

Storing posts social counters by using transient api

I would like to know if it's a good practice to use transient api to cache social counters for every post. Loading post pages get quite slow while processing and getting all social APIs.
3
votes
3answers
25k views

Default image for homepage when shared in social media

Currently, my homepage contains a few of the latest posts. Therefore, when the homepage is shared via social media (i.e. Facebook), the thumbnail image which is displayed comes from the top image in ...
2
votes
2answers
6k views

How can i disable a plugin for a mobile phone?

Is there a way I can not show something to mobile users? I have a floating social bar on my responsive theme, but it get in the middle of the content if I'm on my Android phone. I don't want to use ...
2
votes
1answer
15k views

Get total social share count (Facebook, Twitter, Google+. Pinterest)

I'm pulling the individual share counts for the social media I've mentioned using the following code snippet in my theme's function.php: $facebook_like_share_count = function ( $url ) { $api = ...
2
votes
1answer
1k views

Retrieving Google Plus share count with wp_remote_post

So I've spent most of my morning working on my website's customized social share buttons. Reading out Twitter and Facebook shares were no problem, but Google Plus is a real challenge, as they don't ...
2
votes
2answers
1k views

Social sharing post's shortlink instead of permalink

Is there a way to force a social sharing plugin to use the shortlink each of my WP posts automatically gets (YOURLS service in my case) to pass to the social service the visitor clicked, instead of ...
1
vote
2answers
488 views

List repeating share links

I want to add social share buttons to my posts, but I don’t want to put all that big bulk of code into all my content files. I want to create a function, and then add the function name to my template ...
1
vote
1answer
2k views

How to generate “og:image” meta for Facebook sharing when the image in the post is not featured?

I have a piece of code in my website's header.php that can generate og:image meta data for FB sharing. It works perfectly when the given post has a featured image. <?php $fb_image = ...
1
vote
3answers
1k views

Share buttons on article footer

for a website I need to place facebook and twitter share buttons on the footer section of each article on the blog page (where are listed all the articles). I tested many social plugin and was able ...
1
vote
1answer
77 views

Is there a way to change a post's thumbnail image(s)?

I just recently finished the first version of a blog (here: http://northernconservative.com/ ), but whenever I share a post on social media, the thumbnail image is the atrocious scaled up version of ...
1
vote
1answer
2k views

Only display link to author social media when it exists [closed]

I've added the following code to my functions.php to expand the functionality of the user profile page and be able to add links to the social media of the authors. function my_new_contactmethods( $...
1
vote
3answers
1k views

Multiple social buttons with a fast loading? [closed]

I have pages like this with a lot of social buttons. A lot means more than 50 buttons because each posts on that page has its own buttons. So maybe I'll make the page smaller, with less posts but ...
1
vote
1answer
200 views

Modify foreach loop for social sharing links?

How would I amend the following foreach loop so each link displays the keys from each nested query, and not just the values? I am creating my own social sharing links, included using get-template-part,...
1
vote
2answers
91 views

Is it possible to use Twitter intents with the post’s image in WordPress?

I am using Twitter Intents as part of my theme and I can successfully share posts’ URLs on Twitter. However, I would like to be able to show the images of the shared posts. Is that even possible? I ...
1
vote
1answer
636 views

How to have a “clean” post content, for excerpt and social networks sharing

Sometimes I start my blog posts by : This is a guest post.... This is a sponsored post.... [download]This is a download for the post[download] [youtube]this is a video that I put in the begenning[...
1
vote
1answer
457 views

Automatically add simple custom buttons for print, Facebook share, & Tweet in Posts [closed]

I want an easy way to automatically implement printing, Facebook sharing, and Tweeting for posts. No plugins, complicated javascript, nor functions.
1
vote
1answer
1k views

Social sharing toolkit is not showing on ajax load

I am using Social sharing toolkit (http://wordpress.org/plugins/social-sharing-toolkit/) in my website. This plugin is working fine with common posts but not working with ajax loaded posts. Is there ...
1
vote
1answer
146 views

Add share links to all blog posts on homepage

I need to figure out a way to add share links to each blog post on the homepage. This way users can share specific posts without actually going into the post. Is there a way to do this easily through ...
1
vote
0answers
15 views

Sharing images to social media - issue with aspect ratio

I am designing a website that will have a lot of images, and I want those images to be shareable to Facebook. I know this is possible with social media plugins like "Easy Social Share Buttons," where ...
1
vote
0answers
55 views

buddypress activity social share

Hello Guys I am using buddypress and I am sharing activity on social network like facebook and google and I am using url like https://www.facebook.com/sharer/sharer.php?t=' . $activity_title . '&u=' ...
1
vote
1answer
64 views

How to add FB like + share AND also other Social Buttons on ALL pages and posts?

I tried many plugins but none of them have the following things so I guess I have to code it myself? I just want to add under and above the content of blogpostings AND pages: - the Facebook like and ...
1
vote
0answers
263 views

How to integrate Facebook Share button without code?

We are using this code for Facebook share button. We placed this code in our functions.php But we are getting pagenot found in fb share popup window. How to fix this issue. <span class="fb-share-...
1
vote
1answer
682 views

Facebook social publisher and custom post type fields [closed]

I have a problem with how Facebook plugin shows my WordPress-based posts on my timeline. What basically happens is that the post image isn't shown. Now, the post image I want to show is a custom ...
1
vote
0answers
616 views

Skeleton Child Theme Add Icon Bar to Header Flex Grid

Skeleton Child Theme Version 1.6 WordPress Version 3.4.2 Child Theme installed on main Multisite: public_html, wp-content, themes. My CSS, PHP Coding skills = NOVICE What I've done: Using the ...
1
vote
0answers
86 views

Can i Use own Facebook App ID with this Social Comment Plugin? [closed]

Is it possible to connect the plugin with an own Facebook App ID? In this way it would be entirely clear that this App belongs to the respective blog. Beyond that, if I have other Facebook stuff on ...
1
vote
2answers
208 views

Can I develop a social networking Site using WordPress and its Plugins? [closed]

I am completly new to WordPress. I have a requirment where I need to develop a site where people will form communities and will blog around. They will make friends and send friend request. So its much ...
0
votes
2answers
814 views

Whenever I am sharing a post wordpress phrase is automatically added, can anyone help?

As you can see the phrase is Want create site? Free wordpress themes.. I tried editing in Yoast Facebook option still the phrase shows up, any solution?
0
votes
1answer
211 views

Post image lacking when pasting link into Facebook despite the correct og:image meta tag

Within head tags of this post page (sorry there's a language selection prompt screen), Yoast SEO Plugin generates this: <meta content="http://www.example.com/wp-content/uploads/2015/06/whatever....
0
votes
2answers
10k views

Trouble displaying featured image as thumbnail when using Facebook share

I know there are many questions and articles about displaying post thumbnail (i.e. featured image) as a thumbnail for Facebook sharing but I'm still having trouble with it. I'm using AddThis plugin ...
0
votes
2answers
15 views

Changing Social Media

Can anyone tell me how to change my social media links? I've tried everything on google. My wordpress was set up by a third party who is no longer able to help me. I have pretty much covered being ...
0
votes
1answer
339 views

No post image when pasting link into Facebook

This thread's solution proposes to add an absolute link to the post image within head tags so that, when pasting post URL into Facebook, the post image appears on Facebook. However this is laborious ...
0
votes
1answer
288 views

How to add social follow button to header? [closed]

I'm using the theme "Awaken" and I need to add social follow button on the right side of the logo, just above the search box. Please see my website here. I have included the social button in the ...
0
votes
1answer
168 views

How to replace URL protocol using PHP?

I'm using HTTPS everywhere in my website but I have problems with sharing buttons for Pinterest and Tumblr. For example, when I try to share image on Pinterest I get this error: "Sorry we could not ...
0
votes
1answer
678 views

Keeping social share count after changing Wordpress Permalinks

I am going to change wordpress permalinks and will do 301 redirect from old to new URL's. But the problem is how can i keep my social sharing counts (like facebook,twitter, google +1) after the URL's ...
0
votes
1answer
1k views

How to share post?

I found this code that will share my post in social medias but right now it share the whole page and not the individual post. How do I make it share only the individual post? I know its something with ...
0
votes
1answer
1k views

Social share buttons text shows up on post excerpts

I'm using the Social Likes plugin and there is one problem. The text on the share buttons show up in the excerpts. For example, I grabbed this off of one of the post excerpts: ...
0
votes
1answer
130 views

Store SNS share value via function.php

I am trying to store SNS share value + comment count on my postmeta, DB. I put code below to accomplish this task, function get_sns_share($post_ID=0) { $url1=get_permalink($post->ID); $...
0
votes
1answer
319 views

Followers for WordPress [duplicate]

I'm seeking a system for following (like used on Twitter.com) with the following parameters, or close to them, and I'm curious if anybody has a solution. I would like to avoid BuddyPress. Basic PHP ...
0
votes
2answers
384 views

Featured image for social sharing ot author archive page

Personal blog with occasional guest authors (non-commercial) self hosted Wordpress. I create a bespoke author PHP file for each author (example). I use Yoast SEO and set a default image for meta ...
0
votes
0answers
11 views

WordPress Sumo Plugin not showing all images on clicking pinterest icon

I am using SUMOMME WordPress Plugin for social sharing on WordPress Site. This is the site: https://www.teachworkoutlove.com/ I am facing below issue when i share post with pinterest. General ...
0
votes
0answers
8 views

Use data from API call to populate post_data to support the Social Warfare plugin in an hybrid SPA wordpress

I'm trying to figure out how to have Social Warfare use something different than $post_data, or to use a filter to change $post_data to what I want before it gets used. Our website has two parts: ...
0
votes
0answers
7 views

Add data into the table after successful share on social media

I am using Listing pro theme.Theme provide's social share of different listing in the site that is Facebook,twitter,pinterest,google plus,reddit,stumbleupon,linkendin etc. I have checked in the theme ...
0
votes
0answers
364 views

Featured image not showing on facebook share

I Guys! I´ve spent the whole morning after this... Some post images are not showing up on facebook if I try to share. But some are. If I go to facebook and try to share: http://www.taiff.com.br/...
0
votes
2answers
377 views

Social sharing is not working as expected

I tested posting a blog post to Facebook it shows a too large pic of the header title design you made for the home page not blog image. It doesn't show the feature photo from that blog post. Also, ...
0
votes
1answer
94 views

add share buttons above my posts without plugins

I'm trying to install share buttons above the articles of my site and I found this piece of code. Starting with, my problem is that the code is displayed at the end of the articles. I would rather ...
0
votes
1answer
147 views

Edit Custom Links Menu markup: Making a Social Media Menu with linkable icons

I'm creating a social menu media on my website using linked icons: To do this, I'm using the 'Custom Links' section in Appearances > Menus: The code snippet to achieve a linkable icon (I'm using ...
0
votes
1answer
18 views

Linkedin not returning right info

I have a problem when sharing a website on linkedin (it works well on facebook). I use the theme "Foundry", and SEO by YOAST (free version). I have the right OG informations in the head of my ...
0
votes
1answer
23 views

how can I easily clear the “header is malformed” error when trying to reconnect social accounts in jetpack

Just an easy question from me this time. I'm just drawing a blank. I recently got my self hosted wordpress site back up and running. I went to publish a post and got the message I should refresh my ...
0
votes
0answers
41 views

Social sharing conflict with Rewrite rules

I have created a custom plugin that adds a rewrite rule so that a url like this http://domain.com/listings/property/123456 will resolve to the page 'listings'. That works great. I also have removed ...
0
votes
1answer
4k views

How do I remove social buttons from the “Blog” section of my theme?

I have a specific question about the blog section of my site. It is located here: www.newangleanalytics.com/blog If you click on the article, you will notice three social media button at the bottom. ...