SHARE
TWEET

mh-geotrust-shortcode.php

jan_dembowski Nov 22nd, 2012 379 Never
  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. }
RAW Paste Data
Top