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 Shortcode | |
function subform() { | |
ob_start(); | |
// Greet guests, if user is not logged in. | |
$user_display_name = __( 'Guest', 'wpmudev' ); | |
// Get the current user's display name. | |
if ( is_user_logged_in() ) { |
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
.home .has-foreground-background-color { | |
background-color: #25a6bb !important; | |
} | |
.home .wp-block-site-title { | |
text-align: center; | |
} | |
.home .wp-block-navigation__responsive-container:not(.is-menu-open.is-menu-open) { | |
padding: 15px 10px; |
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
"add_action_print": { | |
"prefix": "add", | |
"body": [ | |
"add_action('init', function() {", | |
"\tif (isset(\\$_GET['devpre'])) {", | |
"\t\t\\$templates = get_option('wpb_js_templates');", | |
"\t\techo '<pre>';", | |
"\t\tprint_r(\\$templates);", | |
"\t\techo '</pre>';", | |
"\t\texit;", |