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
/* remove aspect ratio from player and set variable for controlling top margin */ | |
%root% { | |
aspect-ratio: unset; | |
--player-controls-top: 6rem; | |
} | |
/* add aspect ratio to the media provider and set margins */ | |
%root% media-provider { | |
position: relative; |
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
bricksNavMenu(), | |
bricksMultilevelMenu(), | |
bricksNavMenuMobile(), | |
bricksStickyHeader(), | |
bricksOnePageNavigation(), | |
bricksSkipLinks(), | |
bricksFacebookSDK(), | |
bricksSearchToggle(), | |
bricksPopups(), | |
bricksSwiper(), |
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 | |
// Add a custom column to display favorite count of each post | |
add_filter('manage_post_posts_columns', 'add_favorited_users_column'); | |
function add_favorited_users_column($columns) { | |
$columns['favorited_users'] = 'Favorited Count'; | |
return $columns; | |
} |
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 | |
add_filter('wp_speculative_loading_enabled', '__return_false'); | |
remove_action('wp_head', 'wp_output_speculationrules_script'); | |
add_action('template_redirect', function () { | |
ob_start(function ($html) { | |
return preg_replace('/<script type="speculationrules".*?<\/script>/is', '', $html); | |
}); | |
}); |
NewerOlder