Exemplo n.º 1
0
<div class="service">
	<a class="service-icon primary-color" href="<?php 
the_permalink();
?>
">
		<?php 
cpotheme_icon(get_post_meta(get_the_ID(), 'service_icon', true));
?>
	</a>
	<div class="service-body">
		<h3 class="service-title">
			<a href="<?php 
the_permalink();
?>
"><?php 
the_title();
?>
</a>
		</h3>
		<div class="service-content">
			<?php 
the_excerpt();
?>
		</div>
		<?php 
cpotheme_edit();
?>
	</div>
</div>
Exemplo n.º 2
0
<div class="feature">
	<div class="feature-image">
		<?php 
the_post_thumbnail('portfolio');
?>
	</div>
	<?php 
cpotheme_icon(get_post_meta(get_the_ID(), 'feature_icon', true), 'feature-icon');
?>
	<h3 class="feature-title">
		<?php 
the_title();
?>
	</h3>
	<div class="feature-content"><?php 
the_content();
cpotheme_edit();
?>
</div>
</div>