diglloydTools four commands depending on what tool i want to use:
- disktester
- mt
- ic
- dgl
ic is for Integrity Checker, the primary tool i use for managing the integrity of archived client work.
#Make forms fields disabled or readonly in Gravity Forms vs Ninja Forms
I've seen this in a couple of places so wanted to make a note of it for future use. Their is a plugin from Engage WP that does this a little more agnosticaly then other snippets i have seen that target gravity form class's and id's specificaly. This should work with any wordpress form plugin that allows you to add custom classes to individual form fields.
Simply enqueue this js and enjoy.
| <?php | |
| //* Custom functions to modify child theme | |
| //* Remove the original custom footer | |
| remove_action( 'genesis_footer', 'hello_pro_custom_footer' ); | |
| //* Customize the entire footer | |
| remove_action( 'genesis_footer', 'genesis_do_footer' ); | |
| add_action( 'genesis_footer', 'sp_custom_footer' ); |
| <?php | |
| /* | |
| * A copy of the widget count and dynamic widget class for setting width from | |
| * Genesis Framework child theme from Maker Pro | |
| * http://demo.jtgrauke.com/maker/ | |
| */ | |
| //* Setup widget counts | |
| function maker_count_widgets( $id ) { |
| <?php | |
| //* Do NOT include the opening php tag | |
| //* Force content-sidebar layout | |
| add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_content_sidebar' ); | |
| //* Force sidebar-content layout | |
| add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_sidebar_content' ); |
| <?php | |
| //* Do NOT include the opening php tag shown above. Copy the code shown below. | |
| //* Menus | |
| //********************** | |
| //* Rename Menus | |
| add_theme_support( 'genesis-menus', array( 'primary' => __( 'Left Navigation Menu' ), 'secondary' => __( 'Right Navigation Menu' ) ) ); | |
| //* Modify Menu Structure |
| <?php | |
| //* Do NOT include the opening php tag shown above. Copy the code shown below. | |
| //* Filter the header menu to add search and social | |
| https://www.petersenmediagroup.com/adding-simple-social-icons-search-form-genesis-menu/ | |
| add_filter( 'wp_nav_menu_items', 'pb_search_social_menu_extras', 10, 2 ); | |
| function pb_search_social_menu_extras( $menu, stdClass $args ){ | |
| //* Add the extras to the header-menu |
| /* A little base style for version two "template_application_sk_v2.php", | |
| * with a simple media querie, to get you started. | |
| * Adopting the default margins and padding of the sample child theme article. | |
| */ | |
| .application .right-application-sidebar, | |
| .application .left-application-sidebar { | |
| width: 25%; | |
| float: left; | |
| margin-bottom: 40px; |