Ticket #223: 223.diff
File 223.diff, 1.6 KB (added by , 10 years ago) |
---|
-
front-page.php
10 10 11 11 <?php $sites_query = new WP_Query( 'post_type=make_site&posts_per_page=-1&order=ASC' ); ?> 12 12 <?php while( $sites_query->have_posts() ) : $sites_query->the_post(); ?> 13 <?php $url = get_post_meta( get_the_ID(), 'homepage_url', true ); ?> 14 13 15 <article id="site-<?php the_ID(); ?>" <?php post_class(); ?>> 14 <h2><?php the_title(); ?></h2> 15 <?php the_content(); ?> 16 <h2> 17 <?php if ( $url ) : ?> 18 <a href="<?php echo esc_url( $url ); ?>"><?php the_title(); ?></a> 19 <?php else : ?> 20 <?php the_title(); ?> 21 <?php endif; ?> 22 </h2> 23 24 <div class="team-description"> 25 <?php the_content(); ?> 26 <?php if ( $url ) : ?> 27 <p><a href="<?php echo esc_url( $url ); ?>">Learn more about <?php the_title(); ?> »</a></p> 28 <?php endif; ?> 29 </div> 30 16 31 <?php if ( '1' == get_post_meta( get_the_ID(), 'weekly_meeting', true ) ) : ?> 17 32 <small> 18 33 <p><?php printf( __( 'Weekly IRC chats: %s', 'make-wporg' ), get_post_meta( get_the_ID(), 'weekly_meeting_when', true ) ); ?></p> -
style.css
227 227 text-transform: uppercase; 228 228 } 229 229 230 section.get-involved article p { 230 231 section.get-involved article h2 a { 232 font-weight: 600; 233 color: #444444; 234 } 235 236 section.get-involved article div.team-description p { 237 display: inline; 231 238 font-size: 1em; 232 239 line-height: 1.5; 233 240 }