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 | |
/** | |
* WP Single Post Navigation: Reverse link direction | |
*/ | |
define( 'WPSPN_REVERSE_LINK_DIRECTION', 'reverse_direction' ); | |
/** | |
* For other snippets see this Gist: |
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 | |
add_action( 'wp_before_admin_bar_render', 'ddw_bptb_admin_only' ); | |
/** | |
* BuddyPress Toolbar for Admins only | |
* | |
* NOTE: Should work fine for plugin versions 1.0 and 1.1 | |
* | |
* @author David Decker - DECKERWEB | |
* @link http://genesisthemes.de/en/ |
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 */ | |
// Hooks: | |
add_action( 'wcaba_custom_group_items', 'wcaba_custom_additional_group_item' ); | |
/** | |
* BuddyPress Toolbar: Custom Resource Group Items | |
* |
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 | |
/** Capability filters & helper functions */ | |
add_filter( 'tstb_filter_capability_all', '__tstb_admin_only' ); | |
add_filter( 'tstb_filter_capability_all', '__tstb_role_editor' ); | |
add_filter( 'tstb_filter_capability_all', '__tstb_cap_switch_themes' ); | |
add_filter( 'tstb_filter_capability_all', '__tstb_cap_manage_options' ); | |
add_filter( 'tstb_filter_capability_all', '__tstb_cap_install_plugins' ); | |
add_filter( 'tstb_filter_capability_all', 'custom_tstb_capability_all' ); |
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 | |
// since plugin version v1.0: | |
/** Capability filters & helper functions */ | |
add_filter( 'gtbe_filter_capability_all', '__gtbe_admin_only' ); | |
add_filter( 'gtbe_filter_capability_all', '__gtbe_role_editor' ); | |
add_filter( 'gtbe_filter_capability_all', '__gtbe_cap_edit_theme_options' ); | |
add_filter( 'gtbe_filter_capability_all', '__gtbe_cap_manage_options' ); | |
add_filter( 'gtbe_filter_capability_all', '__gtbe_cap_install_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 | |
/** bbPress Search Widget: Remove Search Label */ | |
define( 'BBPSW_SEARCH_LABEL_DISPLAY', false ); | |
add_filter( 'bbpsw_filter_label_string', 'custom_bbpsw_label_string' ); | |
/** | |
* bbPress Search Widget: Custom Search Label | |
*/ |
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 */ | |
// since plugin version v1.1.0: | |
/** Genesis Widgetized NotFound: 404 Error Page - Full-Width Layout */ | |
add_action( 'genesis_meta', '__gwnf_layout_404_full_width' ); | |
/** Genesis Widgetized NotFound: Search not found Page - Full-Width Layout */ |
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 | |
add_action( 'widgets_init', 'ddw_change_sidebar_names', 20 ); | |
/** | |
* Genesis Framework: Change Sidebar Names | |
* | |
* @author David Decker - DECKERWEB | |
* @link http://genesisthemes.de/en/ | |
* @link http://twitter.com/deckerweb | |
*/ |
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 | |
// since plugin version v1.0: | |
/** Genesis Widgetized Footer: Reposition Disclaimer Widget to the Very Bottom */ | |
add_action( 'genesis_before', '__gwfoot_footer_disclaimer_bottom' ); | |
add_filter( 'gwfoot_filter_footer_one_widget_title', 'gwfoot_custom_footer_one_widget_title' ); | |
/** | |
* Genesis Widgetized Footer: Custom 1st Footer Area Widget Title |
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 | |
/** | |
* WPML: Conditional Switching Languages | |
* | |
* @author David Decker - DECKERWEB | |
* @link http://twitter.com/deckerweb | |
* | |
* @global mixed $sitepress | |
*/ |