add page-sidebar-none template
This commit is contained in:
@@ -226,8 +226,19 @@ add_action( 'init', 'register_list_block_popout' );
|
||||
/**
|
||||
* Change one or more classes into my-custom-class
|
||||
*/
|
||||
function my_fancy_filter_function() {
|
||||
function featured_full_width_img_classes() {
|
||||
return "featured-full-width-img bg-dark text-light mb-5";
|
||||
}
|
||||
add_filter('bootscore/class/featured-full-width-img', 'my_fancy_filter_function', 10, 2);
|
||||
add_filter('bootscore/class/featured-full-width-img', 'featured_full_width_img_classes', 10, 2);
|
||||
|
||||
|
||||
// /**
|
||||
// * Change container class in a single file
|
||||
// */
|
||||
// function change_container_in_single_file($string, $location) {
|
||||
// if ($location == 'page-sidebar-none') {
|
||||
// return "container-fluid";
|
||||
// }
|
||||
// return $string;
|
||||
// }
|
||||
// add_filter('bootscore/class/container', 'change_container_in_single_file', 10, 2);
|
||||
Reference in New Issue
Block a user