Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="col-md-6 col-sm-6 left">
- <h3><?php
- $idObj = get_category_by_slug('c_work');
- $id = $idObj->term_id;
- echo get_cat_name($id); ?></h3>
- <div class="resume_icon"><i class="icon-basic-case"></i></div>
- <?php if ( have_posts() ) : query_posts('cat=' . $id);
- while (have_posts()) : the_post(); ?>
- <div class="resume_item">
- <div class="year"><?php echo get_post_meta($post->ID, 'resume_years', true); ?></div>
- <div class="resume_description"><?php echo get_post_meta($post->ID, 'resume_place', true); ?><strong><?php the_title(); ?></strong></div>
- <?php the_content(); ?>
- </div>
- <? endwhile; endif; wp_reset_query(); ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement