Permalink
Browse files

Removed Social panel from Features panel.

  • Loading branch information...
1 parent 233f45d commit 4fb734923d19f38c7f642e078c72205e42a4cde3 @nob committed Mar 11, 2013
@@ -394,7 +394,10 @@ INDEX
}
.home #sub-feature #features ul li {
margin: 0 5.63% 2.244em 0;
+ /*
width: 29.58%;
+ */
+ width: 19.37%;
}
.home #sub-feature #features ul li.clear {
margin: 0;
@@ -34,17 +34,18 @@
<section id="sub-feature">
<div class="col-full">
-
- <div id="social">
+<!--
+ <div id="social">
<h3><?php _e('Find us socially', 'woothemes'); ?></h3>
<?php
if ( isset($settings['social_panel']) && $settings['social_panel'] == 'true' )
- get_template_part( 'includes/social-panel' );
+ //get_template_part( 'includes/social-panel' );
?>
<?php if ( isset($settings['features_social_text']) && $settings['features_social_text'] != '' ) { ?>
<p><?php echo $settings['features_social_text']; ?></p>
<?php } ?>
- </div>
+ </div>
+-->
<div id="features">
@@ -60,7 +61,7 @@
<?php
while ( $the_query->have_posts() ) { $the_query->the_post(); $count++;
?>
- <li class="fix <?php if ( $count % 3 == 0 ) { echo 'last'; } ?>">
+ <li class="fix <?php if ( $count % 4 == 0 ) { echo 'last'; } ?>">
<?php $feature_icon = get_post_meta( $post->ID, 'feature_icon', true ); if ( $feature_icon ) { ?><div class="image"><img src="<?php echo get_post_meta( $post->ID, 'feature_icon', true ); ?>" alt="" /></div><?php } ?>
<div class="entry">
@@ -80,7 +81,7 @@
</div>
</li>
- <?php if ( $count % 3 == 0 ) { echo '<li class="fix clear"></li>'; } ?>
+ <?php if ( $count % 4 == 0 ) { echo '<li class="fix clear"></li>'; } ?>
<?php
} // End While Loop ?>
@@ -93,4 +94,4 @@
</div><!-- /.col-full -->
</section><!-- /#mini-features -->
- <?php wp_reset_postdata(); ?>
+ <?php wp_reset_postdata(); ?>

0 comments on commit 4fb7349

Please sign in to comment.