Skip to content

Commit dac247b

Browse files
authored
Merge pull request #47 from wpkitpro/develop
Develop
2 parents 2bb5ab3 + 645af23 commit dac247b

File tree

5 files changed

+18
-7
lines changed

5 files changed

+18
-7
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
## [3.0.2] - 2024-04-10
6+
- Added: Add CHANGELOG.md to WPKit theme
7+
- Changed: Update WPKit theme version
8+
- Changed: A 'WPKIT_VERSION' constant has been defined in the functions.php file to standardize the versioning system in WPKit theme.
9+
- Removed: Redundant whitespace has been removed from the header.php file to clean up the code and improve its readability.
10+
- Fixed: The loop processing posts in the wpkit theme's index page has been modified to include 'the_post()'

functions.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
exit; // Exit if accessed directly.
88
}
99

10+
define('WPKIT_VERSION', '3.0.2');
11+
1012
/** Include template functions */
1113
require_once get_template_directory() . '/inc/setup.php';
1214

index.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
get_header();
77
?>
8-
<?php while ( have_posts() ): ?>
9-
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
10-
<?php the_content(); ?>
11-
</article><!-- #post-<?php the_ID(); ?> -->
12-
<?php endwhile; ?>
8+
<?php while ( have_posts() ): the_post(); ?>
9+
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
10+
<?php the_content(); ?>
11+
</article><!-- #post-<?php the_ID(); ?> -->
12+
<?php endwhile; ?>
1313
<?php
1414
get_footer();

style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Theme URI: https://wpkit.pro/themes/wpkit/
44
Description: WordPress starter theme with Bootstrap CSS/JS and a modern development workflow.
55
Author: WpKit
66
Author URI: https://wpkit.pro
7-
Version: 3.0.1
7+
Version: 3.0.2
88
Requires at least: 6.0
99
Tested up to: 6.4
1010
Requires PHP: 7.3

template-parts/header.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
if ( ! defined( 'ABSPATH' ) ) {
77
exit; // Exit if accessed directly.
88
}
9-
109
?>
1110

1211
<header id="masthead" class="banner">

0 commit comments

Comments
 (0)