SHOW:
|
|
- or go back to the newest paste.
| 1 | - | <?php $terms = wp_get_post_terms($post->ID,'category'); |
| 1 | + | <?php get_header(); ?> |
| 2 | ||
| 3 | - | $termcomp = $term->taxonomy . '_' . $term->term_id; } ?> |
| 3 | + | <div id="impactBox"> |
| 4 | ||
| 5 | - | <?php the_field('tagline' , $termcomp); ?> |
| 5 | + | <div class="container"> |
| 6 | <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("post_type=project&orderby=RAND&order=ASC&cat=6"); ?>
| |
| 7 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
| 8 | ||
| 9 | <?php $terms = wp_get_post_terms($post->ID,'category'); | |
| 10 | foreach ($terms as $term) {
| |
| 11 | $termcomp = $term->taxonomy . '_' . $term->term_id; } ?> | |
| 12 | ||
| 13 | ||
| 14 | <?php the_field('tagline' , $termcomp); ?>
| |
| 15 | ||
| 16 | <?php endwhile; endif; ?> | |
| 17 | ||
| 18 | </div> | |
| 19 | ||
| 20 | </div> | |
| 21 | ||
| 22 | <div id="content" role="main"> | |
| 23 | ||
| 24 | <div class="container"> | |
| 25 | ||
| 26 | <div class="entryFull"> | |
| 27 | ||
| 28 | <h1>Alpha360 Projects</h1><?php the_field('tagline'); ?>
| |
| 29 | <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts("post_type=project&orderby=RAND&order=ASC&cat=6"); ?>
| |
| 30 | <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
| 31 | ||
| 32 | <?php $attachment_id = get_post_thumbnail_id( get_the_ID()); // attachment ID | |
| 33 | $image_attributes = wp_get_attachment_image_src( $attachment_id ); // returns an array ?> | |
| 34 | ||
| 35 | <div class="boxgrid400 peek <?php echo (++$j % 2 == 0) ? 'evenclient' : 'oddclient'; ?>"> | |
| 36 | <a title="<?php the_title(); ?> - LittleIdeas Design Image" rel="prettyPhoto"><?php the_post_thumbnail('client_thumb', array( 'class' => "cover")); ?></a>
| |
| 37 | <div class="projectDesc"> | |
| 38 | <h3><?php the_title(); ?></h3> | |
| 39 | <?php the_excerpt(); ?></p> | |
| 40 | <a class="button" href="<?php $projectlink = (the_field('project_link')); $projectlink = (the_field('project_link2')); if (empty ($projectlink)) { echo $projectlink2; } else { echo $projectlink; } ?>" title="<?php the_title(); ?> - LittleIdeas Design"><?php the_field('button_text'); ?></a>
| |
| 41 | </div> | |
| 42 | </div> | |
| 43 | ||
| 44 | <?php endwhile; endif; ?> | |
| 45 | ||
| 46 | <?php $terms = wp_get_post_terms($post->ID,'category'); | |
| 47 | foreach ($terms as $term) {
| |
| 48 | $termcomp = $term->taxonomy . '_' . $term->term_id; } ?> | |
| 49 | ||
| 50 | ||
| 51 | <?php echo the_field('tagline' , $termcomp); ?>
| |
| 52 | ||
| 53 | </div> | |
| 54 | ||
| 55 | <?php get_footer(); ?> |