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
| //Years Since Shortcode | |
| //usage [years-since date='2010-01-01'] | |
| function bww_years_since($atts, $content = null) { | |
| extract(shortcode_atts(array("date" => ''), $atts)); | |
| if(empty($date)) { | |
| return "<br /><br />************No date provided************<br /><br />"; | |
| } | |
| $mdr_unix_date = strtotime($date); | |
| $mdr_time_difference = time() - $mdr_unix_date ; | |
| $years = floor($mdr_time_difference / 31556926 ); |
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
| add_action('admin_head', 'my_custom_fonts'); | |
| function my_custom_fonts() { | |
| echo '<style> | |
| #screen-meta-links { | |
| display:none; | |
| } | |
| </style>'; | |
| } |
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
| /** | |
| Theme Name: PBDC 2020 Child Theme | |
| Author: Nathan Ingram | |
| Author URI: https://brilliantly.net | |
| Description: A child theme for Astra for the 2020 Page Builder Developers Course | |
| Version: 1.0.0 | |
| License: GNU General Public License v2 or later | |
| License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| Text Domain: astra-bww-client | |
| Template: astra |
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 | |
| /* Debug Options */ | |
| define( 'WP_DEBUG_LOG', false ); | |
| define( 'WP_DEBUG', false ); | |
| /* MySQL Settings */ | |
| define( 'DB_NAME', 'database_name_here' ); | |
| define( 'DB_USER', 'username_here' ); |
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: Disable Comments | |
| Plugin URI: https://github.com/solarissmoke/disable-comments-mu | |
| Description: Disables all WordPress comment functionality | |
| Version: 1.1.2 | |
| Author: Samir Shah | |
| Author URI: http://rayofsolaris.net/ | |
| License: GPL2 | |
| GitHub Plugin URI: https://github.com/solarissmoke/disable-comments-mu |
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: My Awesome Custom Functions Plugin | |
| Plugin URI: https://nathaningram.com | |
| Description: A set of custom functions for client websites from Nathan Ingram's Page Builder Developer Course Nov 2020 | |
| Version: 1.0 | |
| Author: Nathan Ingram | |
| Author URI: https://nathaningram.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
| <!-- Begin Schema.org from Settings Page --> | |
| <script type="application/ld+json"> | |
| { | |
| "@context": "https://schema.org", | |
| [wpbb-if site:pods_settings settings_field=business_info:info_schema_type] | |
| "@type": "[wpbb site:pods_settings settings_field='business_info:info_schema_type' type='author']",[/wpbb-if] | |
| [wpbb-if site:pods_settings settings_field=business_info:info_image_square] | |
| "image": [ | |
| "[wpbb site:pods_settings settings_field='business_info:info_image_square' type='author']", | |
| "[wpbb site:pods_settings settings_field='business_info:info_image_43' type='author']", |