Home » WordPress Plugins » You are reading »

Social Jet – Social Counter Schema Markup Opengraph WordPress Plugin

social-jet-wp-plugin
This WordPress Plugin will sky rocket your social endeavour and make your site more visible to search engines Schema micro-data search query and social network connections.

Are you tired of your site search query decreasing everyday from search engines? Do you want to show-off how many Facebook Fans or Twitter Followers you have? Want to add open-graph meta into your site without editing your template code? You all heard about schema mark-up is good for SEO right? well do you want to add this features without editing your site template code?

Let me introduce you to our new all in one social boost WordPress Plugin, Social Jet.

What’s under the hood of Social Jet?

  • Social Counter Widgets for popular social media platform such as Facebook, Twitter, Google+, YouTube and LinkedIn
  • Open-graph meta for Facebook and Google+
  • Facebook Fan Page Widgets
  • Twitter Card Meta for Twitter
  • Twitter User Timeline API 1.1 Feed Widgets
  • Auto SEO Schema Mark-up for article and comments *multi-authors supported
  • AddThis Social Sharing Button with tracking and publisher ID options
  • Bonus! – Simple Flickr Photo Feeds widgets

How to install Social Jet?

  1. Download, unzipped and upload the ‘social-jet’ folder into your WordPress ‘plugins’ folder.
  2. Go to your site admin dashboard -> plugins and choose Social Jet and activate it
  3. Setup and save all available options in newly created admin menu in dashboard -> Social Jet.
  4. Clear cache if you have any cache plugins installed such as wp-super-cache.

Extending Social Jet Plugin (FAQ)

1. Optimize Title and Descriptions
The Social Jet WordPress Plugin allowed some level of extension from other plugin code. Take for example if you have All in One SEO Pack installed, you can use the aioseo plugin title and descriptions for social jet open-graph meta title and descriptions. Just simple add this to your theme functions.php

For Home Title and Single Post/Page Title

function add_dez_aioseo_title_meta() {
global $post,$aioseop_options;
$post_aioseo_title = get_post_meta($post->ID, '_aioseop_title', true);
$hometitle = $aioseop_options['aiosp_home_title'];
if ( is_singular() ) {
if ( function_exists('aioseop_load_modules') && $post_aioseo_title) {
$og_title = $post_aioseo_title;
} else {
$og_title = esc_attr( get_the_title() );
}
} else  {
if ( function_exists('aioseop_load_modules') && $hometitle) {
$og_title = $hometitle;
} else {
$og_title = get_bloginfo('name');
}
}
return $og_title;
}
add_filter('sj_opengraph_title','add_dez_aioseo_title_meta');

For Home Description and Single Post/Page Descriptions

function add_dez_aioseo_desc_meta() {
global $post,$aioseop_options;

$post_aioseo_desc = get_post_meta($post->ID, '_aioseop_description', true);
$homedesc = $aioseop_options['aiosp_home_description'];
if ( is_singular() ) {
if ( function_exists('aioseop_load_modules') && $post_aioseo_desc) {
$og_desc = $post_aioseo_desc;
} else {
$og_desc = esc_attr( get_the_excerpt() );
}
} else  {
if ( function_exists('aioseop_load_modules') && $homedesc) {
$og_desc = $homedesc;
} else {
$og_desc = get_bloginfo('description');
}
}
return $og_desc;
}
add_filter('sj_opengraph_desc','add_dez_aioseo_desc_meta');
2. Change Social Counter Icons
Open wp-content/plugins/social-jet/inc/social-counter/images/ you’ll see a list of images like sc-facebook.png, sc-twitter.png and more…
Just upload the same image name and extension into your current theme ‘images’ folder and the plugin will use the first detected social images inside your current theme ‘images’ folder.
3. Change Footer Schema Data
Add this to your theme functions.php

function dez_sj_add_schema_in_footer() {
$schema_pub .= '<span itemscope="" itemtype="http://schema.org/WPFooter">';
$schema_pub .= '<span class="post-schema">';
$schema_pub .= '<span itemprop="name">MY HOME TITLE</span>';
$schema_pub .= '<span itemprop="description">MY HOME DESCRIPTIONS</span>';
$schema_pub .= '<span itemprop="url">MY HOME URL</span>';
$schema_pub .= '<span itemprop="copyrightYear">2003-2013</span>';
$schema_pub .= '</span></span>';
return $schema_pub;
}
add_filter('sj_get_footer_schema', 'dez_sj_add_schema_in_footer');
4. Recommended for bug free plugin usage
If you are using Mesocolumn WordPress Theme, delete schema.php and ‘addons’ folder.
5. How to change the default no image?
add this to your theme functions.php or custom-functions.php

function dez_sj_add_opengraph_home_img() {
return 'http://wwww.site.com/wp-content/uploads/your-img.ext';
}
add_filter('sj_opengraph_home_image', 'dez_sj_add_opengraph_home_img');

Related Topics:

WordPress Plugins
8 Incredible WordPress Plugins You Should Consider Install
WordPress Plugins
3 New Plugins for Your Growing Website
WordPress Plugins
All in One SEO Guideline – Optimization for Homepage, Keywords, Titles, Social and Index Settings
WordPress Plugins
Free Christmas WordPress Plugins for Your Business
Zip
http://cdn.dezzain.com/1/2013/09/social-jet-wp-plugin-150x150.jpg
Download Version 1.7
WordPress 3.8.1
Version 1.7

add og:image:height and og:image:width to facebook opengraph.

Version 1.6

- move social jet options to wp-admin->settings (options-general.php) page
- remove linkedin counter since its deprecated, no solution so far.
- update Facebook code to work with API 2.7
- update Addthis code

Version 1.5

- update to be compatible with PHP7
- fixed PHP7 __contruct name issue

Version 1.4

- update facebook page like count functions
- fix index error when wp_config set to true

Version 1.3

- fixed google+ custom url with '+' bug when count circles.

Version 1.2

- add filter for default no images location *check FAQ in post
- add twitter opengraph twitter:image grabbed first image in post if no featured images exist

Version 1.1

- strip shortcode from schema descriptions and articlebody
- add woocommerce product addthis button
- add facebook og:image grabbed first image in post if no featured images exist

Version 1.0

- new release

WINDOWS
Price: $
0.00
4.5
(
5027
ratings )
Social Jet - Social Counter Schema Markup Opengraph WordPress Pluginhttp://cdn.dezzain.com/1/2013/09/social-jet-wp-plugin.jpghttp://cdn.dezzain.com/1/2013/09/social-jet-wp-plugin-150x150.jpgRichie KS WordPress Pluginssocial network wordpress plugin,wp pluginThis WordPress Plugin will add Social Counter, Posts and Comments SEO schema mark-up, Meta Opengraph for Facebook and Google+, Twitter Card and Timeline Feeds. DEZZAIN.COM
Enjoy This Article?, Follow us or Share it smiley

Search comments for solutions

113 Comments Already

  1. Hi Richie,

    I have some questions about this plugin ( I use with theme Mesocolumn ):
    – Where can I add the functions needed to optimize the title and description ( those to be added in functions.php ) so that a possible update of the theme Mesocolumn they are not overwritten ( think of something like custom.css ) ?
    – In connection with the Facebook Open Graph meta what changes should be made ??so that the og : image will be the first image found in the post , if it has no representative image , and if the post has no image then put links to noimage.

    Thanks

    Public CommentUserHi Richie, I have some questions about this plugin ( I use with theme Mesocolumn ): - Where can I add the functions needed to optimize the title and description ( those to be added in functions.php ) so that a possible update of the theme Mesocolumn they are not overwritten ( think of something like custom.css ) ? - In connection with the Facebook Open Graph meta what changes should be made ??so that the og : image will be the first image found in the post , if it has no representative image , and if the post has no image then put links to noimage. Thanks
    • 1. check for custom-function.php in mesocolumn/lib/functions
      2. could you try this. open social-jet/inc/facebook/facebook.php and add this on top after opening

      if( !function_exists( 'sj_get_post_first_image' )):
      function sj_get_post_first_image() {
      global $wpdb, $post;
      $image_id = get_post_thumbnail_id( $post->ID );
      $image_url = wp_get_attachment_image_src($image_id, 'thumbnail');
      $image_url = $image_url[0];
      if( !$image_url ){
      $first_img = '';
      ob_start();
      ob_end_clean();
      $output = preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches);
      $first_img = $matches[1][0];
      if($first_img) { return $first_img; }
      } else {
      return $image_url;
      }
      }
      endif;
      

      the edit line 35

      $thumbnail_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), "thumbnail" );

      to

      $thumbnail_src = sj_get_post_first_image();

      then edit line 55

      <meta property="og:image" content="<?php if( !empty($thumbnail_src) ) { echo esc_url( $thumbnail_src[0] ); } else { echo SJ_PLUGIN_URL . 'images/noimage.png'; } ?>" />

      to

      <meta property="og:image" content="<?php if( !empty($thumbnail_src) ) { echo esc_url( $thumbnail_src ); } else { echo SJ_PLUGIN_URL . 'images/noimage.png'; } ?>" /> 

      that should do it

      Member of DEZZAIN.COMAdministrator1. check for custom-function.php in mesocolumn/lib/functions 2. could you try this. open social-jet/inc/facebook/facebook.php and add this on top after opening the edit line 35 to then edit line 55 to that should do it
      • It works great. Very quick responses.
        Thank you so much!

        Public CommentUserIt works great. Very quick responses. Thank you so much!
      • Can you tell me what changes I need to do for that to occur Send button (the one under the Like button from your website)? Can I change the name of this button?
        Thank you again.

        Public CommentUserCan you tell me what changes I need to do for that to occur Send button (the one under the Like button from your website)? Can I change the name of this button? Thank you again.
        • hi mike, i used this plugin for the site social submission and social-jet plugin for the opengraph, schema etc…

          Member of DEZZAIN.COMAdministratorhi mike, i used this <a href="http://wordpress.org/plugins/simple-social-expandable/" target="_blank" rel="nofollow">plugin</a> for the site social submission and social-jet plugin for the opengraph, schema etc...
  2. great plugin, previously i use 2-3 plugins to achieve what this plugin can done in 1 plugin only. thanks for the twitter card, it is approved passed on my site.

    suggestion: adding linkedin, reddit or maybe pinit on the sharing button?

    Public CommentUsergreat plugin, previously i use 2-3 plugins to achieve what this plugin can done in 1 plugin only. thanks for the twitter card, it is approved passed on my site. suggestion: adding linkedin, reddit or maybe pinit on the sharing button?
    • thx natalie, sure will see if next version can apply this.

      Member of DEZZAIN.COMAdministratorthx natalie, sure will see if next version can apply this.
  3. Hi Richie,
    After having taken a look at your great plugin, I wonder how I can manually add some other social media links, such as Pinterest -with the possibility of a hit counter.
    Thanks

    Public CommentUserHi Richie, After having taken a look at your great plugin, I wonder how I can manually add some other social media links, such as Pinterest -with the possibility of a hit counter. Thanks
    • the plugin addthis social style 1 already have pinit button but you need to have attach image detected first for the pinit button to show.
      for more info, check this

      Member of DEZZAIN.COMAdministratorthe plugin addthis social style 1 already have pinit button but you need to have attach image detected first for the pinit button to show. for more info, check <a href="http://support.addthis.com/customer/portal/articles/381237-third-party-buttons#.UiswjNItRBk" target="_blank" rel="nofollow">this</a>
      • Thank you. It recognizes an image if it is featured within the post, but not the other images included in it.
        I fugure out this would be more difficult to get.
        Nevertheless, thank you again for your quick reply.

        Public CommentUserThank you. It recognizes an image if it is featured within the post, but not the other images included in it. I fugure out this would be more difficult to get. Nevertheless, thank you again for your quick reply.
  4. so i have to delete my current mesocolumn theme addon folder and schema.php first?

    Public CommentUserso i have to delete my current mesocolumn theme addon folder and schema.php first?
    • yes, its better for compatibility.

      Member of DEZZAIN.COMAdministratoryes, its better for compatibility.
      • Could you pls.point me where is addons folder and schema.php in the mesocollumn theme

        Public CommentUserCould you pls.point me where is addons folder and schema.php in the mesocollumn theme
        • its already deprecate and removed in newest 1.5.2 version, use social jet wp plugin instead. it have all the extra features same as addons.

          Member of DEZZAIN.COMAdministratorits already deprecate and removed in newest 1.5.2 version, use social jet wp plugin instead. it have all the extra features same as addons.
        • addons folder only added starting from v1.4.3, if you do not have this in mesocolumn theme, just delete the schema.php only

          Member of DEZZAIN.COMAdministratoraddons folder only added starting from v1.4.3, if you do not have this in mesocolumn theme, just delete the schema.php only
  5. thanks, this work perfectly and tested passed with google schema test.
    we would like to add our own set of schema for our store location, how do you recommended to do this without editing the plugin?

    Public CommentUserthanks, this work perfectly and tested passed with google schema test. we would like to add our own set of schema for our store location, how do you recommended to do this without editing the plugin?
    • hi paul, thanks glad the plugin working in your end.
      ok i would recon add something like this to your theme functions.php

      function add_my_store_schema() {
      $store . = "<span class='post-schema' itemscope itemtype='http://schema.org/LocalBusiness'>";
      $store . = '<span itemprop="name">Beachwalk Beachwear & Giftware</span>';
      $store . = '<span itemprop="description"> A superb collection of fine gifts and clothing to accent your stay in Mexico Beach.</span>';
      $store . = "<span itemprop='address' itemscope itemtype='http://schema.org/PostalAddress'>";
      $store . = '<span itemprop="streetAddress">3102 Highway 98</span>';
      $store . = '<span itemprop="addressLocality">Mexico Beach</span>, <span itemprop="addressRegion">FL</span>';
      $store . = '</span>';
      $store . = 'Phone: <span itemprop="telephone">850-648-4200</span>';
      $store . = '</span>';
      return $store;
      }
      
      function add_my_store_schema_to_content($content) {
      global $post;
      if( is_singular() ):
      $content = $content . '' . add_my_store_schema();
      endif;
      return $content;
      }
      add_filter('the_content', 'add_my_store_schema_to_content', 10);

      now the store location schema should be echoing after the article schema.

      Member of DEZZAIN.COMAdministratorhi paul, thanks glad the plugin working in your end. ok i would recon add something like this to your theme functions.php now the store location schema should be echoing after the article schema.
1 2 3 9

Search comments for solutions

Write a Reply or Comment

Your email address will not be published. Required fields are marked *


You can wrap php, js or style css code with [PHP]..your code...[/PHP]