This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hide Email from Spam Bots using antispam bot http://codex.wordpress.org/Function_Reference/antispambot | |
function HideMail($atts , $content = null ){ | |
if ( ! is_email ($content) ) | |
return; | |
return '<a href="mailto:'.antispambot($content).'">'.antispambot($content).'</a>'; | |
} | |
add_shortcode( 'email','HideMail'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Hides Yoast SEO Plugin Field Columns for Author users and below | |
// @since Jan, 2013 | |
// @author R. Dall | |
if( current_user_can( 'edit_users' ) ) { | |
// The user can see all columns | |
} | |
else { | |
// The user has the SEO Columns hidden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WordPress Ignore Files # | |
###################### | |
.htaccess | |
wp-config.php | |
wp-content/uploads/ | |
wp-content/themes/r2d2 | |
wp-content/plugins/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package otto-mute | |
* @version 0.1 | |
*/ | |
/* | |
Plugin Name: Otto Mute | |
Description: Mute's daily email from beta site updates | |
Author: Robert Dall & Otto Wood |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contract Killer 3 | |
Revised date: 07/11/2012 | |
Between us [company name] | |
and you [customer name] | |
## Summary: | |
We’ll always do our best to fulfil your needs and meet your expectations, but it’s important to have things written down so that we both know what’s what, who should do what and when, and what will happen if something goes wrong. In this contract you won’t find any complicated legal terms or long passages of unreadable text. We’ve no desire to trick you into signing something that you might later regret. What we do want is what’s best for both parties, now and in the future. |