
mh-geotrust-shortcode.php
By:
jan_dembowski on
Nov 22nd, 2012 | syntax:
PHP | size: 0.64 KB | hits: 79 | expires: Never
<?php
/*
Plugin Name: GeoTrust QuickSSL Icon Shortcode
Description: Use [mh-geotrust] to insert the QuickSSL Premium True Site Seal into your post or page.
Author: Jan Dembowski
Version: 0.1
From http://wordpress.org/support/topic/adding-a-geotrust-malware-seal-to-a-wordpress-website
*/
add_shortcode( 'mh-geotrust', 'mh_geotrust_seal' );
function mh_geotrust_seal( $atts ) {
$mh_text = <<<'EOD'
<!-- GeoTrust QuickSSL [tm] Smart Icon tag. Do not edit. -->
<SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript"
SRC="//smarticon.geotrust.com/si.js"></SCRIPT>
<!-- end GeoTrust Smart Icon tag -->
EOD;
return $mh_text;
}