Skip to content

Commit

Permalink
Merge pull request #35 from gikwp/v2.0.0-dev
Browse files Browse the repository at this point in the history
v2.0.0
  • Loading branch information
garikhg authored Aug 22, 2023
2 parents 76bba3c + a20815b commit 9e97808
Show file tree
Hide file tree
Showing 15 changed files with 234 additions and 214 deletions.
25 changes: 16 additions & 9 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
tab_width = 4
indent_style = tab
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
[*.txt]
trim_trailing_whitespace = false

[*.php]
[*.{md,yml}]
trim_trailing_whitespace = false
indent_style = space
indent_size = 2

[{*.txt,wp-config-sample.php}]
end_of_line = crlf

[resources/views/**.php]
indent_size = 2
[*.json]
indent_style = tab
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
## v2.0.0: Aug 21th, 2023
## v2.0.1: Aug 22nd, 2023

* [Release notes](https://github.com/gikwp/wpkit/releases/tag/v2.0.1)
* [Full changelog](https://github.com/gikwp/wpkit/compare/v2.0.0...v2.0.1)

## v2.0.0: Aug 21st, 2023

* [Release notes](https://github.com/gikwp/wpkit/releases/tag/v2.0.0)
* [Full changelog](https://github.com/gikwp/wpkit/compare/v2.0.0-experimental.5...v2.0.0)
Expand All @@ -23,7 +28,7 @@
* [Release notes](https://github.com/gikwp/wpkit/releases/tag/v2.0.0-experimental.2)
* [Full changelog](https://github.com/gikwp/wpkit/compare/v2.0.0-experimental.1...v2.0.0-experimental.2)

## v2.0.0-experimental.1: January 21th, 2023
## v2.0.0-experimental.1: January 21st, 2023

* [Release notes](https://github.com/gikwp/wpkit/releases/tag/v2.0.0-experimental.1)
* [Full changelog](https://github.com/gikwp/wpkit/compare/v1.0.5...v2.0.0-experimental.1)
Expand Down
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
</main><!-- #main -->

<footer id="colophon" class="container">
<?php dynamic_sidebar('sidebar-footer') ?>
<?php dynamic_sidebar( 'sidebar-footer' ) ?>
</footer>
</div><!-- #page -->

Expand Down
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/

if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly.
exit; // Exit if accessed directly.
}

/** Include template functions */
Expand Down
12 changes: 6 additions & 6 deletions header.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
?><!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<?php wp_head(); ?>
<meta charset="<?php bloginfo( 'charset' ); ?>"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>
<?php wp_body_open(); ?>
<div id="page" class="site-page">
<a class="visually-hidden-focusable" href="#main"><?php esc_html_e( 'Skip to content', 'wpkit' ); ?></a>
<a class="visually-hidden-focusable" href="#main"><?php esc_html_e( 'Skip to content', 'wpkit' ); ?></a>

<?php get_template_part( 'template-parts/header/site-header' ); ?>
<?php get_template_part( 'template-parts/header/site-header' ); ?>

<main id="main" class="container content-area">
<main id="main" class="container content-area">
Loading

0 comments on commit 9e97808

Please sign in to comment.