Tradesw Share Intent

Tradesw Share Intent
Version
Download 1
File Size 0.00 KB
File Count 1
Create Date September 22, 2026
Last Updated September 22, 2026
Download
or download free
[free_download_btn]

Description

Overview

Adds social share buttons to bottom of posts with selectable post types.

This plugin is hard coded with most modern used metadata. We do this to save messy admin data storage of options.

Features

 

  1. Performance (SEO): Native intents don't require external scripts to load from Facebook or X. This keeps your "Daily Brief" pages lightweight, which directly helps maintain that GSC performance and mobile-first indexing speed.

  2. Privacy/Compliance: Since you aren't loading tracking pixels from social giants, you’re providing a "cleaner" experience for your more privacy-conscious intelligence readers.

  3. Bypassing the "Burnout": You've essentially "future-proofed" the site. No more fighting with broken third-party plugins every time an API updates—you own the logic now.

The following meta tags will be added to your themes head:

 

 

<meta property="og:url" content="http://https%3A%2F%2Ftradesnet.us%2Fnew-test-post%2F" />
<meta property="og:url" content="Gets url of post" />
<meta property="og:type" content="article" />
<meta property="og:title" content="New test post" />
<meta property="og:image" content="gets url of featured image" />
<meta name="twitter:title" content="New test post" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="https://tradesnet.us/wp-content/uploads/2026/05/Russian-ICBM-Sarmat.webp" />

Upgrade Notice

 

If you find your theme has (duplicate) metadata tags in the head, be sure to comment out the ones you do not need in the file src/Frontend/FrontendInterface.php around line 35.

  • And to deal with duplicate tags programatically, check your theme or other plugins that may have added meta tags to the head, you can add something like this to you themes child theme functions.php file:


/**
* Check if meta tags are set from parent theme and remove action.
* @since 1.0.1
*/
function blog_over_child_remove_seo_tags() {
// We target a priority of 11 to ensure it runs AFTER the parent theme registers its hooks
remove_action( 'wp_head', 'blog_over_seo_meta_tags', 5 );
}
add_action( 'after_setup_theme', 'blog_over_child_remove_seo_tags', 11 );

  • And if your theme does not support svgs (which is rare now days):
function tradesw_share_intent_add_mime_types($mimes) {
 $mimes['svg'] = 'image/svg+xml';
 return $mimes;
}
add_filter('upload_mimes', 'cc_mime_types');

https://blog.cogitactive.com/website/enabling-wordpress-svg-safely/

[changelog]

Categories & Tags

Similar Downloads

FindWord TSW Plus

FindWord TSW Plus

47.4k 49 Downloads
TwoSides Debate

TwoSides Debate

240.48 KB 12 Downloads
Larry

Write a Reply or Comment

Your email address will not be published.


You may use these HTMLtags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>