adding dropdown placeholder to the months dropdown in for the calendar view
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 17 Jul 2017 16:11:24 +0000 (12:11 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 17 Jul 2017 16:11:24 +0000 (12:11 -0400)
added select month text to the dropdown for month switching about the calendar view
section of the agenda view events list page.

glm-member-db-events/views/front/events/agenda.html
parts/header-meta.php
style.css

index fddb694..77d0023 100644 (file)
     <div id="event-date-toggle-container">
         <label class="date-toggle-label" for="#event-date-toggle"> Select a Date <label>
         <select id="event-date-toggle">
+           <option value="" selected="true" disabled="disabled" > Select Month</option>
             {foreach $months as $year=>$month}{
                 {foreach $month as $m=>$value}
-                    {if $current_month == $value.date && $current_year == $year}
-                        <option value="{$year}-{$value.date}-01" selected> {$value.name} - {$year}</option>
-                    {else}
+
                         <option value="{$year}-{$value.date}-01"> {$value.name} - {$year}</option>
-                    {/if}
+
                 {/foreach}
             {/foreach}
         </select>
index 6e4e53e..b3d5866 100644 (file)
@@ -2,7 +2,7 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.5">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.12">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico">
     <link href="https://fonts.googleapis.com/css?family=Montserrat:200,200i,300,300i,400,700" rel="stylesheet"> 
 <!--    <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>-->
index 9c71ff5..0f53460 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: GreatLakesCenterfortheArts
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for GreatLakesCenterfortheArts
-Version: 1.0.11
+Version: 1.0.12
 */