Skip to content
This repository was archived by the owner on May 16, 2025. It is now read-only.

Commit ccbd0eb

Browse files
authored
Merge pull request #11 from bootscore/v6
v6.0.0-beta1
2 parents 974d774 + c694427 commit ccbd0eb

17 files changed

+118
-142
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018 - 2023 The bootScore Contributors
3+
Copyright (c) 2018 - 2024 The Bootscore Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
# bs Loop Templates
2-
Additional archive, author and category templates for bootScore theme.
2+
Additional archive, author and category templates for Bootscore theme.
33

4-
Docs: https://bootscore.me/documentation/loop-templates/
4+
Docs: https://bootscore.me/documentation/templates/
55

66
## Usage
77

8-
- [Download](https://github.com/bootscore/bs-loop-templates/releases/latest/download/bs-loop-templates-UnzipFirst.zip
9-
) latest release and unzip
8+
- [Download](https://github.com/bootscore/bs-loop-templates/releases/latest/download/bs-loop-templates-UnzipFirst.zip) latest release and unzip
109
- Copy files you want to use to your (child-)theme's root folder
1110
- Rename files as described https://developer.wordpress.org/themes/basics/template-hierarchy/
1211

@@ -16,4 +15,4 @@ Docs: https://bootscore.me/documentation/loop-templates/
1615
- Sidebar Left https://bootscore.me/archives/sidebar-left/
1716
- Equal Height Sidebar Right https://bootscore.me/archives/equal-height-sidebar-right/
1817
- Equal Height https://bootscore.me/archives/equal-height/
19-
- Masonry https://bootscore.me/archives/masonry/ (requires the bs Masonry plugin https://github.com/bootscore/bs-masonry which is included in the .zip file as well)
18+
- Masonry https://bootscore.me/archives/masonry/ (requires the bs Masonry plugin https://github.com/bootscore/bs-masonry which is included in the .zip file as well)

archive-equal-height-sidebar-right.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,27 @@
66
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
77
*
88
* @package Bootscore
9-
* @version 5.4.0
9+
* @version 6.0.0
1010
*/
1111

1212
// Exit if accessed directly
13-
defined( 'ABSPATH' ) || exit;
13+
defined('ABSPATH') || exit;
1414

1515
get_header();
1616
?>
1717

18-
<div id="content" class="site-content container py-5 mt-5">
18+
<div id="content" class="site-content container pt-4 pb-5">
1919
<div id="primary" class="content-area">
2020

21-
<?php bs_after_primary(); ?>
22-
2321
<div class="row">
24-
<div class="<?= bootscore_main_col_class(); ?>">
22+
<div class="<?= apply_filters('bootscore/class/main/col', 'col') ?>">
2523

2624
<main id="main" class="site-main">
2725

28-
<header class="page-header mb-4">
26+
<div class="page-header mb-4">
2927
<h1><?php the_archive_title(); ?></h1>
3028
<?php the_archive_description('<div class="archive-description">', '</div>'); ?>
31-
</header>
29+
</div>
3230

3331
<div class="row">
3432
<?php if (have_posts()) : ?>
@@ -87,9 +85,9 @@
8785
<?php endif; ?>
8886
</div>
8987

90-
<footer class="entry-footer">
88+
<div class="entry-footer">
9189
<?php bootscore_pagination(); ?>
92-
</footer>
90+
</div>
9391

9492
</main>
9593

archive-equal-height.php

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,24 @@
66
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
77
*
88
* @package Bootscore
9-
* @version 5.4.0
9+
* @version 6.0.0
1010
*/
1111

1212
// Exit if accessed directly
13-
defined( 'ABSPATH' ) || exit;
13+
defined('ABSPATH') || exit;
1414

1515
get_header();
1616
?>
1717

18-
<div id="content" class="site-content container py-5 mt-5">
18+
<div id="content" class="site-content container pt-4 pb-5">
1919
<div id="primary" class="content-area">
2020

21-
<?php bs_after_primary(); ?>
22-
2321
<main id="main" class="site-main">
2422

25-
<header class="page-header mb-4">
23+
<div class="page-header mb-4">
2624
<h1><?php the_archive_title(); ?></h1>
2725
<?php the_archive_description('<div class="archive-description">', '</div>'); ?>
28-
</header>
26+
</div>
2927

3028
<div class="row">
3129
<?php if (have_posts()) : ?>
@@ -85,9 +83,9 @@
8583

8684
</div>
8785

88-
<footer class="entry-footer">
86+
<div class="entry-footer">
8987
<?php bootscore_pagination(); ?>
90-
</footer>
88+
</div>
9189

9290
</main>
9391

archive-masonry.php

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,24 @@
66
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
77
*
88
* @package Bootscore
9-
* @version 5.4.0
9+
* @version 6.0.0
1010
*/
1111

1212
// Exit if accessed directly
13-
defined( 'ABSPATH' ) || exit;
13+
defined('ABSPATH') || exit;
1414

1515
get_header();
1616
?>
1717

18-
<div id="content" class="site-content container py-5 mt-5">
18+
<div id="content" class="site-content container pt-4 pb-5">
1919
<div id="primary" class="content-area">
2020

21-
<?php bs_after_primary(); ?>
22-
2321
<main id="main" class="site-main">
2422

25-
<header class="page-header mb-4">
23+
<div class="page-header mb-4">
2624
<h1><?php the_archive_title(); ?></h1>
2725
<?php the_archive_description('<div class="archive-description">', '</div>'); ?>
28-
</header>
26+
</div>
2927

3028
<div class="row" data-masonry='{"percentPosition": true }'>
3129
<?php if (have_posts()) : ?>
@@ -85,9 +83,9 @@
8583

8684
</div>
8785

88-
<footer class="entry-footer">
86+
<div class="entry-footer">
8987
<?php bootscore_pagination(); ?>
90-
</footer>
88+
</div>
9189

9290
</main>
9391

archive-sidebar-left.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,30 @@
66
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
77
*
88
* @package Bootscore
9-
* @version 5.4.0
9+
* @version 6.0.0
1010
*/
1111

1212
// Exit if accessed directly
13-
defined( 'ABSPATH' ) || exit;
13+
defined('ABSPATH') || exit;
1414

1515
get_header();
1616
?>
1717

18-
<div id="content" class="site-content container py-5 mt-5">
18+
<div id="content" class="site-content container pt-4 pb-5">
1919
<div id="primary" class="content-area">
2020

21-
<?php bs_after_primary(); ?>
22-
2321
<div class="row">
2422

2523
<?php get_sidebar(); ?>
2624

27-
<div class="<?= bootscore_main_col_class(); ?> order-first order-md-last">
25+
<div class="<?= apply_filters('bootscore/class/main/col', 'col') ?> order-first order-md-last">
2826

2927
<main id="main" class="site-main">
3028

31-
<header class="page-header mb-4">
29+
<div class="page-header mb-4">
3230
<h1><?php the_archive_title(); ?></h1>
3331
<?php the_archive_description('<div class="archive-description">', '</div>'); ?>
34-
</header>
32+
</div>
3533

3634
<?php if (have_posts()) : ?>
3735
<?php while (have_posts()) : the_post(); ?>
@@ -89,9 +87,9 @@
8987
<?php endwhile; ?>
9088
<?php endif; ?>
9189

92-
<footer class="entry-footer">
90+
<div class="entry-footer">
9391
<?php bootscore_pagination(); ?>
94-
</footer>
92+
</div>
9593

9694
</main>
9795

author-equal-height-sidebar-right.php

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,32 @@
66
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
77
*
88
* @package Bootscore
9-
* @version 5.4.0
9+
* @version 6.0.0
1010
*/
1111

1212
// Exit if accessed directly
13-
defined( 'ABSPATH' ) || exit;
13+
defined('ABSPATH') || exit;
1414

1515
get_header();
1616
?>
1717

18-
<div id="content" class="site-content container py-5 mt-5">
18+
<div id="content" class="site-content container pt-4 pb-5">
1919
<div id="primary" class="content-area">
2020

21-
<?php bs_after_primary(); ?>
22-
2321
<div class="row">
24-
<div class="<?= bootscore_main_col_class(); ?>">
22+
<div class="<?= apply_filters('bootscore/class/main/col', 'col') ?>">
2523

2624
<main id="main" class="site-main">
2725

28-
<header class="page-header mb-4 d-flex">
26+
<div class="page-header mb-4 d-flex">
2927
<div class="flex-shrink-0 me-3">
3028
<?= get_avatar(get_the_author_meta('email'), '80', $default = '', $alt = '', array('class' => array('img-thumbnail rounded-circle'))); ?>
3129
</div>
3230
<div class="author-bio">
3331
<h1><?php the_author(); ?></h1>
3432
<?php the_author_meta('description'); ?>
3533
</div>
36-
</header>
34+
</div>
3735

3836
<div class="row">
3937
<?php if (have_posts()) : ?>
@@ -92,9 +90,9 @@
9290
<?php endif; ?>
9391
</div>
9492

95-
<footer class="entry-footer">
93+
<div class="entry-footer">
9694
<?php bootscore_pagination(); ?>
97-
</footer>
95+
</div>
9896

9997
</main>
10098

author-equal-height.php

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,29 @@
66
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
77
*
88
* @package Bootscore
9-
* @version 5.4.0
9+
* @version 6.0.0
1010
*/
1111

1212
// Exit if accessed directly
13-
defined( 'ABSPATH' ) || exit;
13+
defined('ABSPATH') || exit;
1414

1515
get_header();
1616
?>
1717

18-
<div id="content" class="site-content container py-5 mt-5">
18+
<div id="content" class="site-content container pt-4 pb-5">
1919
<div id="primary" class="content-area">
2020

21-
<?php bs_after_primary(); ?>
22-
2321
<main id="main" class="site-main">
2422

25-
<header class="page-header mb-4 d-flex">
23+
<div class="page-header mb-4 d-flex">
2624
<div class="flex-shrink-0 me-3">
2725
<?= get_avatar(get_the_author_meta('email'), '80', $default = '', $alt = '', array('class' => array('img-thumbnail rounded-circle'))); ?>
2826
</div>
2927
<div class="author-bio">
3028
<h1><?php the_author(); ?></h1>
3129
<?php the_author_meta('description'); ?>
3230
</div>
33-
</header>
31+
</div>
3432

3533
<div class="row">
3634
<?php if (have_posts()) : ?>
@@ -90,9 +88,9 @@
9088

9189
</div>
9290

93-
<footer class="entry-footer">
91+
<div class="entry-footer">
9492
<?php bootscore_pagination(); ?>
95-
</footer>
93+
</div>
9694

9795
</main>
9896

author-masonry.php

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,31 +6,29 @@
66
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
77
*
88
* @package Bootscore
9-
* @version 5.4.0
9+
* @version 6.0.0
1010
*/
1111

1212
// Exit if accessed directly
13-
defined( 'ABSPATH' ) || exit;
13+
defined('ABSPATH') || exit;
1414

1515
get_header();
1616
?>
1717

18-
<div id="content" class="site-content container py-5 mt-5">
18+
<div id="content" class="site-content container pt-4 pb-5">
1919
<div id="primary" class="content-area">
2020

21-
<?php bs_after_primary(); ?>
22-
2321
<main id="main" class="site-main">
2422

25-
<header class="page-header mb-4 d-flex">
23+
<div class="page-header mb-4 d-flex">
2624
<div class="flex-shrink-0 me-3">
2725
<?= get_avatar(get_the_author_meta('email'), '80', $default = '', $alt = '', array('class' => array('img-thumbnail rounded-circle'))); ?>
2826
</div>
2927
<div class="author-bio">
3028
<h1><?php the_author(); ?></h1>
3129
<?php the_author_meta('description'); ?>
3230
</div>
33-
</header>
31+
</div>
3432

3533
<div class="row" data-masonry='{"percentPosition": true }'>
3634
<?php if (have_posts()) : ?>
@@ -90,9 +88,9 @@
9088

9189
</div>
9290

93-
<footer class="entry-footer">
91+
<div class="entry-footer">
9492
<?php bootscore_pagination(); ?>
95-
</footer>
93+
</div>
9694

9795
</main>
9896

0 commit comments

Comments
 (0)