Update the theme so the title is correct for glm associate.
authorSteve Sutton <steve@gaslightmedia.com>
Tue, 9 Oct 2018 18:48:24 +0000 (14:48 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Tue, 9 Oct 2018 18:48:24 +0000 (14:48 -0400)
Add the wp_title function so our member and event detail pages are
placing the event and member titles into the pages.

functions.php
header.php

index 0e35f21..5731fb7 100644 (file)
@@ -45,7 +45,7 @@ function wmta_setup() {
         * hard-coded <title> tag in the document head, and expect WordPress to
         * provide it for us.
         */
-       add_theme_support( 'title-tag' );
+       // add_theme_support( 'title-tag' );
 
        /*
         * Enable support for Post Thumbnails on posts and pages.
index f978efa..f7b56e1 100644 (file)
 <head>
 <meta charset="<?php bloginfo( 'charset' ); ?>">
 <meta name="viewport" content="width=device-width, initial-scale=1">
-
+<title><?php wp_title();?></title>
 <?php wp_head(); ?>
-
        <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
     <style>
-
                <?php // Hide View Full Profile button on Author/User page
                if (is_author()) { echo '
                        h3.view-full{
@@ -42,7 +40,7 @@
                        }
                ';
                } ?>
-               
+
                <?php // Adjust checkboxes spacing
                if (is_page('16')) { echo '
                        #field_6_10 .gfield_label,
 
             if (is_single() && 'post' == get_post_type() || is_author() ){
                 echo '
-                
+
                 hero-header {
                     height: 215px;
                 }
-                
-             
-                
+
+
+
                 @media only screen and (min-width: 64.0625em)
                 {
                     .hero-header {
 
 
         ?>
-
-        
-
-               
-
     </style>
-
-
-
 </head>
-
 <body <?php body_class(); ?>>
        <div class="off-canvas-wrapper">
                <div class="off-canvas-wrapper-inner" data-off-canvas-wrapper>