updated file structures and HTML, added archive, single, page for better view control. updated labeling.

This commit is contained in:
Jacob Haddon
2024-02-18 15:05:34 -05:00
parent ae204a9d35
commit e6c111ace9
10 changed files with 257 additions and 47 deletions

View File

@ -1,11 +1,16 @@
<!DOCTYPE html>
<?php
// MFWPT - header.php
?>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>" />
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php wp_title(); ?></title>
<title><?php bloginfo( 'name' ); ?></title>
<?php if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' ); ?>
<?php wp_head(); ?>
@ -15,13 +20,17 @@
<body <?php body_class(); ?>>
<header>
<h1> <a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'name' ); ?></a> </h1>
<h2> <?php bloginfo( 'description' ); ?> </h2>
</header>
<!-- Nav -->
<?php wp_nav_menu( array(
'theme_location' => 'header-menu',
'container' => 'nav',
'container_class' => 'mfwpt_menu'
) );?>
<?php
wp_nav_menu( array(
'theme_location' => 'header-menu',
'container' => 'nav',
'container_class' => 'mfwpt_menu'
) );
?>
<!-- Nav -->