Exemplo n.º 1
0
                    <dd class="title">
						<strong><a href="<?php 
        the_permalink();
        ?>
"><?php 
        the_title();
        ?>
</a></strong>
						<?php 
        jr_job_author();
        ?>
                    </dd>

					<?php 
        appthemes_after_post_title('job_listing');
        ?>

                    <dt><?php 
        _e('Location', 'appthemes');
        ?>
</dt>
					<dd class="location"><?php 
        jr_location();
        ?>
</dd>

                    <dt><?php 
        _e('Date Posted', 'appthemes');
        ?>
</dt>
Exemplo n.º 2
0
        
                    <h3><a href="<?php 
            the_permalink();
            ?>
"><?php 
            if (mb_strlen(get_the_title()) >= 67) {
                echo mb_substr(get_the_title(), 0, 67) . '...';
            } else {
                the_title();
            }
            ?>
</a></h3>
                    
                    <div class="clr"></div>
                    <?php 
            appthemes_after_post_title();
            ?>
                    <div class="clr"></div>
                    <?php 
            appthemes_before_post_content();
            ?>
        
                    <p class="post-desc"><?php 
            $tcontent = strip_tags(get_the_content());
            if (mb_strlen($tcontent) >= 150) {
                echo mb_substr($tcontent, 0, 150) . '...';
            } else {
                echo $tcontent;
            }
            ?>
</p>
Exemplo n.º 3
0
        ?>
</a></strong>
						
						<?php 
        echo __('Resume posted by ', 'appthemes') . wptexturize(get_the_author_meta('display_name'));
        $terms = wp_get_post_terms($post->ID, 'resume_category');
        if ($terms) {
            _e(' in ', 'appthemes');
            echo '<a href="' . get_term_link($terms[0]->slug, 'resume_category') . '">' . $terms[0]->name . '</a>';
        }
        ?>
						
                    </dd>
					
					<?php 
        appthemes_after_post_title('resume');
        ?>
									
					<dt><?php 
        _e('Photo', 'appthemes');
        ?>
</dt>
                    <dd class="photo"><a href="<?php 
        the_permalink();
        ?>
"><?php 
        if (has_post_thumbnail()) {
            the_post_thumbnail('listing-thumbnail');
        }
        ?>
</a></dd>
Exemplo n.º 4
0
?>

		</span>

		<?php 
appthemes_before_post_title('featured');
?>

		<p><a href="<?php 
the_permalink();
?>
"><?php 
if (mb_strlen(get_the_title()) >= $cp_options->featured_trim) {
    echo mb_substr(get_the_title(), 0, $cp_options->featured_trim) . '...';
} else {
    the_title();
}
?>
</a></p>

		<span class="price_sm muted"><?php 
cp_get_price($post->ID, 'cp_price');
?>
</span>

		<?php 
appthemes_after_post_title('featured');
?>
	</div>
</li>
Exemplo n.º 5
0
											<?php 
            } else {
                ?>
												<h2 itemprop="name"><a href="<?php 
                the_permalink();
                ?>
" rel="bookmark"><strong>Suggestion:</strong> <?php 
                the_title();
                ?>
</a></h2>
											<?php 
            }
            ?>
								
											<?php 
            appthemes_after_post_title(IDEAX_PTYPE);
            ?>
								
											<div class="idea-content" itemprop="description">
												<?php 
            if (is_singular(IDEAX_PTYPE)) {
                ?>
													<?php 
                the_content();
                ?>
												<?php 
            } else {
                ?>
													<p class="excerpt"><?php 
                strip_tags(the_excerpt());
                ?>