Skip to content

Commit 1e3efc5

Browse files
author
Kate Lewis
committed
add Artist Form, Asia & Europe pages, small style changes
1 parent 2f1e202 commit 1e3efc5

File tree

7 files changed

+113
-15
lines changed

7 files changed

+113
-15
lines changed

artistForm.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?php /*Template Name: Artist Form */ ?>
2+
<?php get_header(); ?>
3+
4+
<div class="artistForm">
5+
<?php
6+
gravity_form( 2, true, true, true, '', false );
7+
?>
8+
</div>
9+
10+
<?php get_footer(); ?>

category-asia.php

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?php
2+
/**
3+
* Asia taxonomy archive
4+
*/
5+
get_header();
6+
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
7+
?>
8+
9+
<h1 class="archive-title"><?php echo apply_filters( 'the_title', $term->name ); ?>Asia</h1>
10+
11+
<div class="wrapper">
12+
<div class="primary-content">
13+
14+
<?php if ( !empty( $term->description ) ): ?>
15+
<div class="archive-description">
16+
<?php echo esc_html($term->description); ?>
17+
</div>
18+
<?php endif; ?>
19+
20+
<?php if ( have_posts() ): while ( have_posts() ): the_post(); ?>
21+
22+
<div id="post-<?php the_ID(); ?>" <?php post_class('post clearfix'); ?>>
23+
<h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
24+
<div class="content clearfix">
25+
<div class="entry" id="taxonomy_image">
26+
<img src="<?php echo get_the_post_thumbnail_url( );?>">
27+
</div>
28+
</div>
29+
</div>
30+
<!--// end #post-XX -->
31+
32+
<?php endwhile; ?>
33+
<?php endif; ?>
34+
</div>
35+
</div>
36+
37+
<?php get_footer(); ?>

category-europe.php

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?php
2+
/**
3+
* Europe taxonomy archive
4+
*/
5+
get_header();
6+
$term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) );
7+
?>
8+
9+
<h1 class="archive-title"><?php echo apply_filters( 'the_title', $term->name ); ?> Europe</h1>
10+
11+
<div class="wrapper">
12+
<div class="primary-content">
13+
14+
<?php if ( !empty( $term->description ) ): ?>
15+
<div class="archive-description">
16+
<?php echo esc_html($term->description); ?>
17+
</div>
18+
<?php endif; ?>
19+
20+
<?php if ( have_posts() ): while ( have_posts() ): the_post(); ?>
21+
22+
<div id="post-<?php the_ID(); ?>" <?php post_class('post clearfix'); ?>>
23+
<h2 class="post-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
24+
<div class="content clearfix">
25+
<div class="entry" id="taxonomy_image">
26+
<img src="<?php echo get_the_post_thumbnail_url( );?>">
27+
</div>
28+
</div>
29+
</div>
30+
<!--// end #post-XX -->
31+
32+
<?php endwhile; ?>
33+
<?php endif; ?>
34+
</div>
35+
</div>
36+
37+
<?php get_footer(); ?>

contact.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<div class="contactForm">
55
<?php
6-
gravity_form( 1, true, false, true, '', false );
6+
gravity_form( 1, true, true, true, '', false );
77
?>
88
</div>
99

front-page.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<div class="galleryButton">
44
<button onclick="location.href='https://multisite.local/eco-martyrs/showall/'" type="button"><i
5-
class="fas fa-chevron-left"></i></button>
5+
class="fas fa-chevron-left fa-2x"></i></button>
66

77
<button id="rightButton" onclick="location.href='https://multisite.local/eco-martyrs/showall/'" type="button"><i
8-
class="fas fa-chevron-right"></i></button>
8+
class="fas fa-chevron-right fa-2x"></i></button>
99
</div>
1010

1111
<?php

showAll.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
<div class="showAll">
6-
<button onclick="showPreviousSlide()"><i class="fas fa-chevron-left"></i></button>
6+
<button onclick="showPreviousSlide()"><i class="fas fa-chevron-left fa-2x"></i></button>
77
<div class="stats_and_player">
88
<div id="ecoStats">
99
<p>Ecomartyr Name: <span id="ecoMartyrName"></span></p>
@@ -29,7 +29,7 @@
2929
<img id="featuredImage">
3030
</div>
3131

32-
<button id="showNext" onclick="showNextSlide()"><i class="fas fa-chevron-right"></i></button>
32+
<button id="showNext" onclick="showNextSlide()"><i class="fas fa-chevron-right fa-2x"></i></button>
3333

3434
</div>
3535

src/style/styles.css

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -111,21 +111,23 @@ body {
111111
}
112112

113113
/*nav links*/
114+
.dropdown-menu{
115+
background-color: rgba(30, 45, 50, 0.75) !important;
116+
}
117+
114118
.header nav a{
115119
font-size: 1em;
116120
color: #e8e8e8 !important;
117121
text-decoration: none;
118122
padding-right: .3em;
119123
font-family: 'Quicksand', sans-serif;
120124
}
125+
121126
.header nav a:hover{
122127
color: red !important;
123128
text-decoration: underline;
124129
}
125130

126-
a.dropdown-item{
127-
color: #1e2d32 !important;
128-
}
129131

130132
/*hide WP admin bar*/
131133
#wpadminbar { display:none !important;}
@@ -135,8 +137,9 @@ button{
135137
height: 60%;
136138
padding: .5em;
137139
margin: .5em;
138-
background-color: #1e2d32;
139-
color: red;
140+
border: none;
141+
background: none;
142+
color: #FFED5F;
140143
}
141144

142145
/*Home Page Grid/Image Gallery*/
@@ -153,9 +156,11 @@ button{
153156
width: 100%;
154157
}
155158

156-
.galleryButton i{
159+
/* .galleryButton i{
160+
border: none;
161+
background: none;
157162
color: #FFED5F;
158-
}
163+
} */
159164

160165
#rightButton{
161166
float: right;
@@ -206,19 +211,28 @@ button{
206211
}
207212

208213
/*Contact Form*/
209-
.contactForm{
214+
.contactForm, .artistForm{
210215
width: 60%;
211216
margin: auto;
212217
}
213218

214219
.gform_title{
215220
text-align: center;
221+
margin-bottom: .5em;
222+
}
223+
224+
.gform_body{
225+
margin-top: 1.3em;
216226
}
217227

218-
.contactForm input{
228+
.contactForm input, .artistForm input{
219229
float: right;
220230
}
221231

222232
.gform_wrapper .gfield_required{
223233
color: red !important;
224-
}
234+
}
235+
236+
.gform_description{
237+
color: #95aaaa;
238+
}

0 commit comments

Comments
 (0)