Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)

mh-geotrust-shortcode.php

By: jan_dembowski on Nov 22nd, 2012  |  syntax: PHP  |  size: 0.64 KB  |  hits: 172  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /*
  3. Plugin Name: GeoTrust QuickSSL Icon Shortcode
  4. Description: Use [mh-geotrust] to insert the QuickSSL Premium True Site Seal into your post or page.
  5. Author: Jan Dembowski
  6. Version: 0.1
  7.  
  8. From http://wordpress.org/support/topic/adding-a-geotrust-malware-seal-to-a-wordpress-website
  9.  
  10. */
  11.  
  12. add_shortcode( 'mh-geotrust', 'mh_geotrust_seal' );
  13. function mh_geotrust_seal( $atts ) {
  14.         $mh_text = <<<'EOD'
  15.         <!-- GeoTrust QuickSSL [tm] Smart  Icon tag. Do not edit. -->
  16.         <SCRIPT LANGUAGE="JavaScript"  TYPE="text/javascript"  
  17.         SRC="//smarticon.geotrust.com/si.js"></SCRIPT>
  18.         <!-- end  GeoTrust Smart Icon tag -->
  19. EOD;
  20.         return $mh_text;
  21. }