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 | |
/** | |
* "Friendlier, Safer WordPress Admin Areas" | |
* Presented by Cliff Seal at WordCamp Atlanta 2015 and Asheville 2016 | |
* Slides: http://www.slideshare.net/cliffseal/wp-admin | |
* | |
* Plugin Name: A Better Admin Experience | |
* Plugin URI: http://evermoresites.com | |
* Description: Cleans up and sanitizes the WordPress admin area | |
* Version: 1.0 |
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 */ | |
add_filter( 'gsui_filter_genesis_shortcodes_ui_args', 'ddw_gsui_change_shortcode_logo', 10, 1 ); | |
/** | |
* Plugin: Genesis Shortcode UI | |
* Snippet: Change a Shortcode logo in the UI | |
* | |
* @link https://gist.github.com/deckerweb/eeaaa76d469ff0205878f7d2bd6bf21f |
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 */ | |
add_filter( 'gsui_filter_genesis_shortcodes_ui_args', 'ddw_gsui_disable_shortcode_tag', 10, 1 ); | |
/** | |
* Plugin: Genesis Shortcode UI | |
* Snippet: Exclude Shortcodes from the UI | |
* | |
* @link https://gist.github.com/deckerweb/65bf8c1c38f95cffcb9e2e2dda344345 |
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 | |
/** | |
* Plugin Name: Translation Updates Table | |
* | |
* @author Pascal Birchler <[email protected]> | |
* @license GPL2+ | |
*/ | |
/** | |
* Displays a table with available translation updates. |
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
/** | |
* Gravity Wiz // Gravity Forms // Change Field ID via Browser Console | |
* | |
* Provides a simple function for changing the ID of a Gravity Forms field via the browser console from the Form Editor page. | |
* | |
* @version 1.0 | |
* @author David Smith <david@gravitywiz.com> | |
* @license GPL-2.0+ | |
* @link http://gravitywiz.com/changing-your-gravity-forms-field-ids/ | |
* @video http://www.screencast.com/t/STm1eLZEsR9q |
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
if (function_exists(wpseo_autoload)) { | |
function krafit_repair_wpseo() { | |
?> | |
<style> | |
#adminmenu #toplevel_page_wpseo div.wp-menu-image img { | |
display: none; | |
} | |
#adminmenu #toplevel_page_wpseo div.wp-menu-image::before { | |
content: "\f511"; |
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
.gform_body ul{ | |
list-style: none; | |
margin: 0; | |
padding: 0; | |
li{ | |
label{margin: 0px;} | |
margin-bottom: 20px; | |
input[type=text], input[type=email], textarea { |
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
jQuery(function () { | |
// 0 = monday, 1 = tuesday, 2 = wednesday, 3 = thursday, | |
// 4=friday, 5 = saturday, 6=sunday | |
var daysToDisable = [2, 4, 5]; | |
jQuery("#input_id_id").datepicker({ | |
beforeShowDay: disableSpecificWeekDays | |
}); |
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
// Filter the title with a custom function | |
add_filter('genesis_seo_title', 'wap_site_title' ); | |
// Add additional custom style to site header | |
function wap_site_title( $title ) { | |
// Change $custom_title text as you wish | |
$custom_title = '<span class="custom-title">WA</span>Estate'; | |
// Don't change the rest of this on down |