php, css - secondary page updates
This commit is contained in:
@@ -164,12 +164,31 @@ endif;
|
||||
add_action( 'init', 'register_button_block_button' );
|
||||
|
||||
|
||||
|
||||
|
||||
if ( ! function_exists( 'bootscore_block_styles' ) ) :
|
||||
/**
|
||||
* Register custom block styles
|
||||
*/
|
||||
function register_list_block_popout() {
|
||||
register_block_style(
|
||||
'core/list', // name of your block
|
||||
array(
|
||||
'name' => 'styled-list', // part of the class that gets added to the block.
|
||||
'label' => __( 'Popout List', 'popout-list' ),
|
||||
)
|
||||
);
|
||||
}
|
||||
endif;
|
||||
|
||||
add_action( 'init', 'register_list_block_popout' );
|
||||
|
||||
/* TEMPLATE PAGE */
|
||||
|
||||
/**
|
||||
* Change one or more classes into my-custom-class
|
||||
*/
|
||||
function my_fancy_filter_function() {
|
||||
return "featured-full-width-img bg-dark text-light mb-4";
|
||||
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);
|
||||
Reference in New Issue
Block a user