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
# Security Headers | |
<IfModule mod_headers.c> | |
Header set X-XSS-Protection "1; mode=block" | |
Header set X-Frame-Options "SAMEORIGIN" | |
Header set X-Content-Type-Options "nosniff" | |
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains" | |
</IfModule> |
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
.tribe-events .tribe-events-calendar-list__event-date-tag-datetime{ | |
padding-top: 0; | |
} | |
.tribe-events-calendar-list__event-date-tag-daynum{ | |
border-radius: 0 0 4px 4px; | |
border: 2px solid var(--global-palette5) !important; | |
display: block; | |
text-align: center; | |
font-size: 2rem !important; | |
text-decoration: none; |
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 | |
// Check for pluggable function | |
if ( function_exists( 'is_user_logged_in' ) ) { | |
if ( ! is_user_logged_in() ) { | |
add_filter( | |
'rest_endpoints', | |
function ( $endpoints ) { | |
if ( isset( $endpoints['/wp/v2/users'] ) ) { | |
unset( $endpoints['/wp/v2/users'] ); | |
} |
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
wp search-replace 'old.domain.com' 'new.domain.com' --precise --all-tables --skip-columns=guid,user_email --report-changed-only --dry-run |
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
# Security Headers | |
<IfModule mod_headers.c> | |
Header set X-XSS-Protection "1; mode=block" | |
Header set X-Frame-Options "SAMEORIGIN" | |
Header set X-Content-Type-Options "nosniff" | |
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains" | |
Header set Content-Security-Policy "default-src 'self'" | |
Header set Referrer-Policy "same-origin" | |
Header set Feature-Policy "geolocation 'self'; vibrate 'none'" | |
</IfModule> |
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
.mrk-no-margin{ | |
--global-md-spacing: 0.5rem; | |
} |
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
@media screen and (min-width: 1280px) { | |
.tribe-events.alignwide { | |
max-width: var(--global-content-width) !important; | |
margin-left: calc( 50% - ( var(--global-content-width) / 2 )) !important; | |
margin-right: calc( 50% - ( var(--global-content-width)/ 2 )) !important; | |
padding: 0 var(--global-content-edge-padding) !important; | |
} | |
} | |
@media screen and (max-width: 1279px) { | |
.tribe-events-view.alignwide { |
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
DELETE FROM `wp_actionscheduler_actions` WHERE `status` = 'complete' | |
DELETE FROM `wp_actionscheduler_logs`; |
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
wp scaffold child-theme youtube-video --parent_theme=twentytwentythree |
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( 'custom_setup' ) ) { | |
function custom_setup() { | |
// Remove core block patterns. | |
remove_theme_support( 'core-block-patterns' ); | |
} | |
} | |
add_action( 'after_setup_theme', 'custom_setup' ); |
NewerOlder