Skip to content

Instantly share code, notes, and snippets.

@deckerweb
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deckerweb/9230551 to your computer and use it in GitHub Desktop.
Save deckerweb/9230551 to your computer and use it in GitHub Desktop.
Genesis Printstyle Plus plugin v1.0.0 or higher -- helper functions, plus filters for customizing and branding
<?php
/** Do NOT include the opening php tag! */
//
/*
Genesis Printstyle Plus: Complete CUSTOM print stylesheet - replacing original plugin file!
*/
@charset "UTF-8";
/**
* Plugin: Genesis Printstyle Plus: Custom Print Additions File
*
* @package Genesis Printstyle Plus
* @subpackage Additional User Styles
* @author David Decker - DECKERWEB
* @copyright Copyright (c) 2011-2014, David Decker - DECKERWEB
* @license http://www.opensource.org/licenses/gpl-license.php GPL-2.0+
* @link https://gist.github.com/deckerweb/9230551
*
* @uses charset UTF-8
*/
/* HTML5 Rules:
------------------------------------------------------------ */
/** Remove URL address output for hyperlinks */
.site-header a[href]:after,
.site-footer a[href]:after,
.content span a[href]:after,
.content p a[href]:after,
#genesis-box a[href]:after,
.genesis-box a[href]:after {
display: none;
}
/* XHTML Rules:
------------------------------------------------------------ */
/** Remove URL address output for hyperlinks */
#header a[href]:after,
#footer a[href]:after,
#content span a[href]:after,
#content p a[href]:after,
#genesis-box a[href]:after {
display: none;
}
@deckerweb
Copy link
Author

Note: The above codes work with plugin version 1.0.0 or higher!

Extended explanation can be found at the plugin's page "FAQ" section at the bottom:
http://wordpress.org/plugins/genesis-printstyle-plus/faq/

Download "Genesis Printstyle Plus" plugin at wordpress.org:
http://wordpress.org/plugins/genesis-printstyle-plus/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment