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

Modify foreach loop for social sharing links?

Your issue has nothing to do with the foreach. The problem is this part: implode( ‘&’, $social_link[‘query’] ) implode() only connects the values. There’s nothing in this code that adds the keys or an =. If you want to add an array of key/values as a query string to a URL, WordPress provides a function … Read more

Categories array Tags array, get-template-part, social-sharing

Sharing images to social media – issue with aspect ratio

Sharing images to social media – issue with aspect ratio

Categories images Tags facebook, images, social-sharing

LinkedIn Social Wall | Is there a plug-in (Free / Paid) to display a LinkedIn feed in a social wall (not just a feed)?

LinkedIn Social Wall | Is there a plug-in (Free / Paid) to display a LinkedIn feed in a social wall (not just a feed)?

Categories plugins Tags plugin-recommendation, plugins, social-connect, social-sharing

Add share links to all blog posts on homepage

There’s an option to do this in Jetpack, if you have sharing tured on. Just click on “Front Page, Archive Pages”… etc Then it’ll show up on the homepage, for example on my homepage:

Categories plugin-recommendation Tags plugin-recommendation, social-sharing

Social sharing toolkit is not showing on ajax load

Got a solution: Just added functions to call each buttons in the ajax loading JavaScript file. $(document).ajaxComplete(function() { FB.XFBML.parse(); // For Facebook button. twttr.widgets.load(); // For Twitter button. gapi.plusone.go(); // For Google plus button. });

Categories plugins Tags plugins, social-sharing

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

I decided to use the built in Facebook sharer and Twitter sharer links, as provided on each site. It won’t give complete functionality, but it it’s perfect for a simple custom icon. Note: This will only work properly within ‘the loop’ HTML code to be inserted in your page template: <div class=”social_icons”> <a href=”https://wordpress.stackexchange.com/questions/125838/javascript:window.print()” target=”_blank” … Read more

Categories facebook Tags facebook, social-sharing, twitter

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

How do the websites that are well optimized for sharing and excerpt displays are handling this subject ? They definitely have separate fields for excerpt / share-text etc. This is the only way to be certain what text gets used. These sites also make use of special meta tags in the head to send Facebook, … Read more

Categories content Tags content, excerpt, social-sharing, the-content

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

Yes, what you want to implement is cards. This is basically the concept of injecting metadata into your site that tells Twitter how you want it to be presented. If you wanted to do it using code, you could implement it doing something like this (barebones version): add_action( ‘wp_head’, ‘wpse_add_twitter_metadata’ ); function wpse_add_twitter_metadata() { global … Read more

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

what function can I use to automatically output og tags per page/post?

This is an example how to add some OG tags for Facebook: Create a hook to a function on the wp_head action, // if on a single post screen, generate and insert facebook:OG tags. ## add_action( ‘wp_head’, ‘wpse381199_og_tags’, 12 ); Then create a function to generate the OG tags function wpse381199_og_tags(){ // get the current … Read more

Categories functions Tags functions, open-graph, social-sharing

Changing Social Media

Check your widgets or theme options. If they are not in there they may be in your theme files, check for a file called footer.php. If you dont have access to the files via FTP you can view theme by going to Admin > Appearance > Editor.

Categories social-sharing Tags social-sharing
Older posts
Newer posts
← Previous Page1 … Page6 Page7 Page8 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
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 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