Last active
August 29, 2015 13:56
-
-
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
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 | |
/** Do NOT include the opening php tag! */ | |
// |
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
/* | |
Genesis Printstyle Plus: Complete CUSTOM print stylesheet - replacing original plugin file! | |
*/ |
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
@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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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/