Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Genesis Prose Extras plugin - list of Hooks & Filters for customizations; since plugin version 1.0.0 // Plugin page at WordPress.org: http://wordpress.org/plugins/genesis-prose-extras/
/** The following rules should be added to Prose Custom CSS (global) */
/* Custom Width for Home Left & Home Right Widget Areas
------------------------------------------------------------ */
/* For Home Left Area */
#prose-home .gpex-columns.one-half.first {
width: 58%;
}
/* For Home Right Area */
#prose-home .gpex-columns.one-half {
width: 38%;
}
/* Neccessary Media Queries
------------------------------------------------------------ */
@media only screen and (max-width: 320px) {
#prose-home .gpex-columns.one-half.first,
#prose-home .gpex-columns.one-half {
width: 100%;
}
}
<?php
/** Do NOT include the opening php tag! */
/** Genesis Prose Extras: Add post type support for (single) Custom CSS: */
add_post_type_support( 'download', 'gpex-inpost-css' );
add_post_type_support( 'product', 'gpex-inpost-css' );
/** Genesis Prose Extras - disable plugin feature: Better Custom PHP file */
add_filter( 'gpex_filter_better_custom_php', '__return_false' );
add_filter( 'gpex_filter_inpost_custom_css_cap', 'gpex_inpost_custom_css_cap' )
/**
* Genesis Prose Extras: Custom Capability for Inpost Custom CSS
*/
function gpex_inpost_custom_css_cap() {
return 'editor';
} // function
@deckerweb

This comment has been minimized.

Copy link
Owner Author

commented Jul 2, 2013

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:
http://wordpress.org/plugins/genesis-prose-extras/faq/

Download "Genesis Prose Extras" plugin at WordPress.org:
http://wordpress.org/plugins/genesis-prose-extras/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.