Skip to content

Commit

Permalink
Merge pull request #44 from dreamsicle-io/release/3.0.0-RC3
Browse files Browse the repository at this point in the history
Release/3.0.0 rc3
  • Loading branch information
theenoahmason committed Feb 22, 2024
2 parents 50c2a01 + 5d5489a commit e849768
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 27,567 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Lock files

/package/package-lock.json
/package/composer.lock
4 changes: 2 additions & 2 deletions package/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<?php if ( have_comments() ) { ?>

<h2 class="gigs-comments__title">
<h2>

<?php printf(
/* translators: 1: comment count number. */
Expand All @@ -45,7 +45,7 @@

</ol>

<div class="gigs-comments__footer">
<div>

<?php the_comments_navigation(); ?>

Expand Down
202 changes: 0 additions & 202 deletions package/composer.lock

This file was deleted.

19 changes: 19 additions & 0 deletions package/includes/template-tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,22 @@
if ( ! defined( 'ABSPATH' ) ) {
exit;
}

/**
* WP Theme Comment Count Message
*
* @since 0.0.1
*/
function wp_theme_comment_count_link() {

$count = get_comments_number();

$message = sprintf(
/* translators: 1: comment count number. */
_n( '%1$s comment', '%1$s comments', $count, 'wp-theme' ),
number_format_i18n( $count ),
); ?>

<a href="<?php comments_link(); ?>"><?php echo esc_html( $message ); ?></a>

<?php }
Loading

0 comments on commit e849768

Please sign in to comment.