This file contains hidden or 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
| .fl-node-5f9300e0babe9 .fl-photo-img, | |
| .fl-node-5f9300e0babe9 .fl-photo-content { | |
| max-width: 300px !important; | |
| height: auto; | |
| } | |
| li.gfield { | |
| margin-bottom: 60px !important; | |
| } |
This file contains hidden or 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
| /***** Additional CSS for Page Bulder Developer Course 2020 *****/ | |
| /* Nothing Added Yet */ |
This file contains hidden or 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 | |
| //User IP Address Shortcode | |
| function ni_user_ip() { | |
| return $_SERVER["REMOTE_ADDR"]; | |
| } | |
| add_shortcode('ip-address','ni_user_ip'); | |
This file contains hidden or 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
| /************ Global Beaver Builder Button Styles ***********/ | |
| /* Simple Hover Transition */ | |
| a, a:hover, | |
| input[type="submit"], | |
| input[type="submit"]:hover { | |
| transition: all .15s linear; | |
| } | |
| /* Button Background and Border */ |
This file contains hidden or 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
| // Redirect Admin to Dashboard and Others to Members Page | |
| function ni_login_redirect( $url, $request, $user ) { | |
| if ( $user && is_object( $user ) && is_a( $user, 'WP_User' ) ) { | |
| if ( $user->has_cap( 'administrator' ) ) { | |
| $url = admin_url(); | |
| } else { | |
| $url = home_url( '/members/' ); | |
| } | |
| } | |
| return $url; |
This file contains hidden or 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: Custom Functions Plugin | |
| Plugin URI: https://wpnathan.com | |
| Description: A set of custom functions for client websites. | |
| Version: 1.0 | |
| Author: Nathan Ingram | |
| Author URI: https://wpnathan.com | |
| License: GPL2 | |
| */ |
This file contains hidden or 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
| /*************************************************** | |
| Design to Builder Webinar CSS | |
| ***************************************************/ | |
| /* Header + Nav */ | |
| ul#menu-vandalay-menu li a { | |
| color: #17335B; | |
| text-decoration: none; | |
| font-weight: bold; |