Skip to content

Commit

Permalink
Replace bootscore_container_class in page-templates
Browse files Browse the repository at this point in the history
  • Loading branch information
justinkruit committed Sep 15, 2023
1 parent afb590d commit c1d8393
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion page-templates/page-blank-with-container.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
get_header();
?>

<div id="content" class="site-content <?= bootscore_container_class(); ?>">
<div id="content" class="site-content <?= apply_filters('bootscore_container_class', 'container', 'page-blank-with-container'); ?>">
<div id="primary" class="content-area">

<!-- Hook to add something nice -->
Expand Down
4 changes: 2 additions & 2 deletions page-templates/page-full-width-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@

<?php $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'full'); ?>
<header class="entry-header featured-full-width-img height-75 bg-dark text-light mb-3" style="background-image: url('<?= $thumb['0']; ?>')">
<div class="<?= bootscore_container_class(); ?> entry-header h-100 d-flex align-items-end pb-3">
<div class="<?= apply_filters('bootscore_container_class', 'container', 'page-full-width-image'); ?> entry-header h-100 d-flex align-items-end pb-3">
<div>
<h1 class="entry-title"><?php the_title(); ?></h1>
</div>
</div>
</header>

<div class="<?= bootscore_container_class(); ?> pb-5">
<div class="<?= apply_filters('bootscore_container_class', 'container', 'page-full-width-image'); ?> pb-5">

<!-- Hook to add something nice -->
<?php bs_after_primary(); ?>
Expand Down
2 changes: 1 addition & 1 deletion page-templates/page-sidebar-left.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
get_header();
?>

<div id="content" class="site-content <?= bootscore_container_class(); ?> py-5 mt-5">
<div id="content" class="site-content <?= apply_filters('bootscore_container_class', 'container', 'page-sidebar-left'); ?> py-5 mt-5">
<div id="primary" class="content-area">

<!-- Hook to add something nice -->
Expand Down
2 changes: 1 addition & 1 deletion page-templates/page-sidebar-none.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
get_header();
?>

<div id="content" class="site-content <?= bootscore_container_class(); ?> py-5 mt-5">
<div id="content" class="site-content <?= apply_filters('bootscore_container_class', 'container', 'page-sidebar-none'); ?> py-5 mt-5">
<div id="primary" class="content-area">

<!-- Hook to add something nice -->
Expand Down

0 comments on commit c1d8393

Please sign in to comment.