Changeset 119
- Timestamp:
- 11/15/2013 04:01:19 PM (11 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/front-page.php
r92 r119 8 8 <div class="wrapper"> 9 9 <h2 class="section-title"><?php _e( 'There are many different ways for you to get involved with WordPress:', 'make-wporg' ); ?></h2> 10 11 <?php $sites_query = new WP_Query( 'post_type=make_site&posts_per_page=-1&order=ASC' ); ?> 10 <?php 11 $sites_query = new WP_Query( 'post_type=make_site&posts_per_page=-1&order=ASC' ); 12 $makesites = make_site_get_network_sites(); 13 ?> 12 14 <?php while( $sites_query->have_posts() ) : $sites_query->the_post(); ?> 15 <?php 16 $make_site_id = get_post_meta( $post->ID, 'make_site_id', true ); 17 $url = $makesites[$make_site_id]; 18 ?> 13 19 <article id="site-<?php the_ID(); ?>" <?php post_class(); ?>> 14 <h2><?php the_title(); ?></h2> 15 <?php the_content(); ?> 20 <h2> 21 <?php if ( $url ) : ?> 22 <a href="<?php echo esc_url( $url ); ?>"><?php the_title(); ?></a> 23 <?php else : ?> 24 <?php the_title(); ?> 25 <?php endif; ?> 26 </h2> 27 28 <div class="team-description"> 29 <?php the_content(); ?> 30 <?php if ( $url ) : ?> 31 <p><a href="<?php echo esc_url( $url ); ?>">Learn more about <?php the_title(); ?> »</a></p> 32 <?php endif; ?> 33 </div> 34 16 35 <?php if ( '1' == get_post_meta( get_the_ID(), 'weekly_meeting', true ) ) : ?> 17 36 <small> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-makehome/style.css
r103 r119 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;
Note: See TracChangeset
for help on using the changeset viewer.