Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

social-sharing

Social Sharing / tell a friend plug but specify which URL to share

I would recommend rolling your own. Use the sharethis api or addthis. Then you can use get_permalink(); for the url parameter. function wpu_share() { $url = get_permalink(); $title = get_the_title(); $add_this=”st_url=””.esc_url( $url ).'”‘; ?> <span class=”st_facebook_large” <?php echo $add_this; ?> displayText=”Facebook”></span> <span class=”st_twitter_large” <?php echo $add_this; ?> displayText=”Tweet”></span> <span class=”st_linkedin_large” <?php echo $add_this; ?> displayText=”LinkedIn”></span> … Read more

Categories sharing Tags sharing, social-sharing

how to get confirm that a shared user are inivited by member of website?

You could use the plugin pie register http://wordpress.org/extend/plugins/pie-register/ Here you can enable invitation codes and require invitation code to register. Another plugin that allows tracking invitation codes is http://wordpress.org/extend/plugins/baw-invitation-codes/

Categories social-sharing Tags social-sharing

Using wp_enqueue_script with social media buttons?

Put everything between <script> & </script> in a separate file. Then use wp_enqueue_script with the correct path of the file & dependencies to false. After that you can use only <a href=”https://twitter.com/share” class=”twitter-share-button”>Tweet</a> to add the tweet button.

Categories theme-development Tags javascript, social-sharing, theme-development, themes

Slick Social Share Buttons plug-ins with Responsive theme – number of tweets link problem

This should work just fine, because the functionality to share a website on Twitter should include the URL that you want your users to share. Keep in mind that the realtime Twitter-Searchfunction just shows recent results, not all of them, so the Link will never list all Tweets about your site. The additional information section … Read more

Categories plugins Tags plugins, social-sharing

Post sharing in social network

Text widget is only static text widget. You need to place link to current post on the end of the sharing link (and you have to urlencode it), so I don’t think that text widget will help you with your problem. The easiest solution to your problem will be adding these sharing links in your … Read more

Categories social-sharing Tags sharing, social-sharing

how can i display share images for each article?

Something similar happens on TNW site, this is the (custom, home build) plugin they use

Categories social-sharing Tags social-sharing

Encode URL picked up by Digg Digg

Encode URL picked up by Digg Digg

Categories plugins Tags plugins, social-sharing

Add social media icon in header area

This thread seems to answer your question http://swiftthemes.com/forums/showthread.php?1542-Social-Media-Icons-like-on-the-demo-page 1) Enable header ad 2) Insert some HTML to render the social media links and icons

Categories theme-development Tags social-sharing, theme-development

Share buttons in some specific posts in WordPress

Use conditional tags You can hook in a div for AddThis using conditional tags and WordPress or theme specific hooks from your functions file. Hook Buttons in Using Custom Function In this example, wp_footer function wpsites_function() { if ( is_single(array( 1, 2, 3, 4, 5 ) ) ) { echo ‘<div class=”addthis_native_toolbox”></div>’; }} add_action(‘wp_footer’, ‘wpsites_function’); … Read more

Categories social-sharing Tags social-sharing

Social Media Feather icons not displaying for each post

did it with shortcode. Instead of using <?php get_sidebar(‘share’); ?> used <?php echo do_shortcode(‘[feather_share]’ ); ?> for sharing icons .I guess a widget can only be displayed for one time on a page

Categories social-sharing Tags social-sharing
Older posts
Newer posts
← Previous Page1 Page2 Page3 … Page9 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress