Skip to content

Commit

Permalink
Rename package name and change main content wrapper in footer.php
Browse files Browse the repository at this point in the history
The package name has been renamed from 'WP Kit Elementor' to 'WPKitElementor' to ensure convention consistency within the code. Also, the main content wrapper has been changed from a 'main' tag with the id 'main' to a 'div' with the id 'content'. This improves HTML semantics as the 'main' tag should enclose the main unique content of a specific page, not the entire website. The skip-to-content link in 'header.php' is also updated to target '#content' for better accessibility support for screen readers.
  • Loading branch information
garikhg committed Dec 3, 2023
1 parent 02fee73 commit 845a4ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
*
* @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
*
* @package WP Kit Elementor
* @since WP Kit Elementor 1.0
* @package WPKitElementor
* @since WPKitElementor 1.0
*/

if ( ! defined( 'ABSPATH' ) ) {
Expand All @@ -18,7 +18,7 @@
$theme_author = wp_get_theme()->get( 'Author' );
$theme_url = 'https://wpkit.pro';
?>
</main><!-- #main -->
</div><!-- #content -->

<footer id="colophon" class="site-footer">

Expand Down

0 comments on commit 845a4ca

Please sign in to comment.