Skip to content

Commit 6d85b08

Browse files
authored
Merge pull request #6 from samuelguebo/comment-thread
Adjust comment thread and include CLI tool
2 parents fe9bdb8 + f7f0688 commit 6d85b08

22 files changed

+20323
-26
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/vendor/
2+
/node_modules

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [1.2.2] - 2024-01-18
6+
- Fix comment display as thread and adjust header logo size
7+
58

69
## [1.2.1] - 2024-01-04
710
- Handle edge cases: missing thumbnails and lenghty titles

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,15 @@ Unless otherwise specified, all the theme files, scripts and images are licensed
9393
- [ScrollReveal](https://github.com/jlmakes/scrollreveal), under MIT License.
9494
- [Roboto](https://github.com/google/roboto), under Apache License 2.0 License.
9595

96+
### Available CLI commands
9697

98+
`acajou` comes packed with CLI commands tailored for WordPress theme development :
99+
100+
- `npm run watch` : watches all SASS files and recompiles them to css when they change.
101+
- `npm run compile:css` : compiles SASS files to css.
102+
- `npm run lint:scss` : checks all SASS files against [CSS Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/css/).
103+
- `npm run lint:js` : checks all JavaScript files against [JavaScript Coding Standards](https://developer.wordpress.org/coding-standards/wordpress-coding-standards/javascript/).
104+
- `npm run bundle` : generates a .zip archive for distribution, excluding development and system files.
105+
-
97106
# Change log
98107
All notable changes to this theme are documented in [CHANGELOG.md](https://github.com/samuelguebo/acajou/blob/master/CHANGELOG.md) file.

comments.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,16 @@
3535

3636
</div><!-- .nav-links -->
3737
</nav><!-- #comment-nav-above -->
38-
<?php endif; // Check for comment navigation. ?>
38+
<?php endif; // Check for comment navigation ?>
3939

4040
<?php
41-
$args = array(
41+
$args = array(
4242
'short_ping' => true,
4343
'callback' => 'acajou_custom_comments',
44-
);
45-
wp_list_comments( $args);
44+
);
45+
wp_list_comments( $args );
4646
?>
4747
<!-- .comment-list -->
48-
4948
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
5049
<nav id="comment-nav-below" class="navigation comment-navigation" role="navigation">
5150
<h4 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'acajou' ); ?></h4>

css/style-blue.css

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/style-blue.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/style-dark.css

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/style-dark.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/style-green.css

Lines changed: 3 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/style-green.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)