Skip to content
Browse files

close to finishing up ministries page, updates to footer

  • Loading branch information...
1 parent bcada2a commit 859a1c52b6e181c2f1540993f2293e41b99bd4a2 Justin Louie committed Dec 19, 2012
View
2 themes/scacseattle.org/archive-ct_sermon.php
@@ -37,7 +37,7 @@
$img = $nggdb->find_image($term->slug);
}
?>
- <div class="series-img-container"><?php echo $img->imageHTML; ?></div>
+ <div class="series-img-container"><a href="<?php echo get_term_link($term); ?>"><img src="<?php echo $img->imageURL; ?>"></a></div>
<div class="series-img-link"><a href="<?php echo get_term_link($term); ?>"><?php echo $term->name; ?></a></div>
<div class="series-img-descripton"><?php echo $img->description; ?></div>
</td>
View
16 themes/scacseattle.org/content-ministry.php
@@ -10,7 +10,21 @@
<div class="content-from-container clearfix">
<div class="col-left">
- <?php echo apply_filters('the_content', '[contact-form-7 id="916" title="Get Connected - TG"]'); ?>
+ <?php //echo apply_filters('the_content', '[contact-form-7 id="916" title="Get Connected - TG"]'); ?>
+ <div class="wpcf7" id="wpcf7-f916-p152-o1"><form action="/scacseattle.org/ministries/trinitarian-groups/#wpcf7-f916-p152-o1" method="post" class="wpcf7-form">
+ <div style="display: none;">
+ <input type="hidden" name="_wpcf7" value="916" />
+ <input type="hidden" name="_wpcf7_version" value="3.3.2" />
+ <input type="hidden" name="_wpcf7_unit_tag" value="wpcf7-f916-p152-o1" />
+ <input type="hidden" name="_wpnonce" value="63add9607b" />
+ </div>
+ <h5>Get Connected</h5>
+ <div class="ministry-contact-input"><span class="wpcf7-form-control-wrap your-name"><input type="text" name="your-name" value="" class="wpcf7-form-control wpcf7-text wpcf7-validates-as-required" default-value="Name"/></span></div>
+ <div class="ministry-contact-input"><span class="wpcf7-form-control-wrap your-email"><input type="text" name="your-email" value="" class="wpcf7-form-control wpcf7-text wpcf7-email wpcf7-validates-as-required wpcf7-validates-as-email" default-value="Email"/></span></div>
+ <div class="ministry-contact-input"><span class="wpcf7-form-control-wrap phonenumber"><input type="text" name="phonenumber" value="" class="wpcf7-form-control wpcf7-text" default-value="Phone Number"/></span></div>
+ <div class="ministry-contact-input"><span class="wpcf7-form-control-wrap ministry"><input type="text" name="ministry-disabled" value="<?php the_title()?>" disabled class="wpcf7-form-control wpcf7-text"/><input type="hidden" name="ministry" value="<?php the_title()?>" class="wpcf7-form-control wpcf7-text"/></span></div>
+ <div class="ministry-contact-input"><input type="submit" value="Send" class="wpcf7-form-control wpcf7-submit" /></div>
+ <div class="wpcf7-response-output wpcf7-display-none"></div></form></div>
</div>
<div class="col-right">
View
31 themes/scacseattle.org/footer.php
@@ -27,9 +27,38 @@
?>
</ul>
</li>
- <li>
+ <li class="listing-headers">
<a href="<?php echo home_url("/visit/"); ?>" class="footer-main-link">Visit</a>
</li>
+ <li class="listing-headers">
+ <a href="<?php echo home_url("/ministries/"); ?>" class="footer-main-link">Ministries</a>
+ <ul class="footer-listings">
+ <?php
+ $page = get_page_by_title('ministries');
+ wp_list_pages(array(
+ 'title_li' => '',
+ 'child_of' => $page->ID,
+ ));
+ ?>
+ </ul>
+ </li>
+ <li class="listing-headers">
+ <a href="<?php echo home_url("/sermons/"); ?>" class="footer-main-link">Sermons</a>
+ <ul class="footer-listings">
+ <?php
+ $taxonomy = 'sermon_series';
+ $terms = get_terms($taxonomy);
+ for($i=0;$i < 5; $i++) :
+ $term = $terms[$i];
+ ?>
+ <li class="page_item <?php echo ($global_term->slug == $term->slug ? "current_page_item" : ""); ?>">
+ <a href="<?php echo get_term_link($term); ?>"><span class="active-box"></span><?php echo $term->name; ?></a>
+ </li>
+ <?php
+ endfor;
+ ?>
+ </ul>
+ </li>
</ul>
</div>
View
18 themes/scacseattle.org/js/main.js
@@ -34,6 +34,24 @@ jQuery(function ($) {
}
);
+ /*** Ministry Forms ***/
+ $(document).ready(function(){
+ $('.wpcf7-form-control').each(function(){
+ if($(this).val() == "")
+ $(this).val($(this).attr("default-value"));
+
+ });
+ });
+
+ $(".wpcf7-form-control").focus(function () {
+ if ($(this).val() == $(this).attr("default-value"))
+ $(this).val("");
+ });
+
+ $(".wpcf7-form-control").blur(function () {
+ if ($(this).val() == "")
+ $(this).val($(this).attr("default-value"));
+ });
$(window).load(function() {
$(".flexslider").flexslider({
View
8 themes/scacseattle.org/navbar.php
@@ -31,10 +31,12 @@
</a>
</div>
</td>
- <td class="nav-item-td"><a href="<?php echo home_url("/sermons/"); ?>">
+ <td class="nav-item-td">
<div class="nav-item">
- <span class="<?php echo (get_post_type() == 'ct_sermon' ? "active_tab" : "");?>"></span>
- Sermons</a>
+ <a href="<?php echo home_url("/sermons/"); ?>">
+ <span class="<?php echo (get_post_type() == 'ct_sermon' ? "active_tab" : "");?>"></span>
+ Sermons
+ </a>
</div>
</td>
<td class="nav-item-td disabled">
View
2 themes/scacseattle.org/page-homepage.php
@@ -50,7 +50,7 @@
<?php
global $nggdb;
if(isset($nggdb)):
- $img = array_shift($nggdb->get_gallery(2)); //only take the first image anyway
+ $img = array_shift($nggdb->get_gallery('announcements-images')); //only take the first image anyway
if(isset($img)){
echo '<img src="' . $img->imageURL . '" alt="' . $img->alttext . '" class="announcement-img">';
View
2 themes/scacseattle.org/sass/footer.css.sass
@@ -2,7 +2,7 @@
position: relative
background: $light-grey
width: 100%
- padding: 0 0 80px 0
+ padding: 0 0 40px 0
margin: 40px 0 0 0
.copyright
View
27 themes/scacseattle.org/sass/ministries.css.sass
@@ -2,7 +2,28 @@
.col-left
float: left
- width: 30%
+ width: 40%
.col-right
- float: left
- width: 70%
+ float: right
+ width: 60%
+
+ .wpcf7
+ h5
+ margin: 1em 0 0 0
+ font-size: 14px
+ .ministry-contact-input
+ input[type='text']
+ background: $search-box-bg
+ border: 0
+ padding: 10px
+ margin: 5px 0px
+ width: 240px
+
+ .wpcf7-submit
+ background: $active-link-color
+ color: white
+ font-weight: bold
+ border: 0
+ padding: 8px
+ margin: 5px 0px
+ width: 100px
View
2 themes/scacseattle.org/sidebar-church.php
@@ -2,7 +2,7 @@
<div class="sidebar sidebar-right">
<div class="col-right">
<div class="sidebar sidebar-church">
- <h3 class="sidebar-title">Church</h3>
+ <h3 class="sidebar-title"><a href="<?php echo home_url("/church/our-vision/"); ?>">Church</a></h3>
<ul class="sidebar-page-listing">
<?php
$page = get_page_by_title('church');
View
2 themes/scacseattle.org/sidebar-ministries.php
@@ -2,7 +2,7 @@
<div class="sidebar sidebar-right">
<div class="col-right">
<div class="sidebar sidebar-church">
- <h3 class="sidebar-title">Ministries</h3>
+ <h3 class="sidebar-title"><a href="<?php echo home_url("/ministries/"); ?>">Ministries</a></h3>
<ul class="sidebar-page-listing">
<?php
$page = get_page_by_title('ministries');
View
2 themes/scacseattle.org/sidebar-sermons.php
@@ -1,7 +1,7 @@
<!-- This draws out the sermon series topics. -->
<?php if ( 'ct_sermon' == get_post_type() ) : ?>
<div class="sidebar sidebar-right right-sermons-nav">
- <h3 class="sidebar-title">Sermon Series</h3>
+ <h3 class="sidebar-title"><a href="<?php echo home_url("/sermons/"); ?>">Sermon Series</a></h3>
<ul class="sidebar-page-listing">
<?php
global $wp_query, $post;
View
25 themes/scacseattle.org/style.css
@@ -97,7 +97,7 @@
position: relative;
background: #eceded;
width: 100%;
- padding: 0 0 80px 0;
+ padding: 0 0 40px 0;
margin: 40px 0 0 0; }
.site-footer .copyright {
color: #777777;
@@ -327,10 +327,27 @@
.ministry-page .col-left {
float: left;
- width: 30%; }
+ width: 40%; }
.ministry-page .col-right {
- float: left;
- width: 70%; }
+ float: right;
+ width: 60%; }
+.ministry-page .wpcf7 h5 {
+ margin: 1em 0 0 0;
+ font-size: 14px; }
+.ministry-page .wpcf7 .ministry-contact-input input[type='text'] {
+ background: #efefef;
+ border: 0;
+ padding: 10px;
+ margin: 5px 0px;
+ width: 240px; }
+.ministry-page .wpcf7 .ministry-contact-input .wpcf7-submit {
+ background: #77991f;
+ color: white;
+ font-weight: bold;
+ border: 0;
+ padding: 8px;
+ margin: 5px 0px;
+ width: 100px; }
body {
font-family: "Open Sans", sans-serif, Arial;

0 comments on commit 859a1c5

Please sign in to comment.
Something went wrong with that request. Please try again.