コード例 #1
0
?>
" data-column="<?php 
echo 3;
?>
" <?php 
post_class($type_class);
?>
>
	<div class="portfolio-content-wrapper">
		<div class="portfolio-thumbnail">
			<?php 
if (has_post_thumbnail()) {
    ?>
				<a href="<?php 
    the_permalink();
    ?>
">
					<?php 
    lsx_thumbnail('lsx-thumbnail-wide');
    ?>
				</a>
			<?php 
}
?>
		</div>
		
		<?php 
the_title('<a class="portfolio-title" href="' . esc_url(get_permalink()) . '" rel="bookmark"><span>', '</span></a>');
?>
	</div>
</article>
コード例 #2
0
?>
" <?php 
post_class();
?>
>
	<div class="property-content-wrapper">
		<?php 
if ('' != get_the_post_thumbnail()) {
    ?>
			<div class="property-thumbnail">
				<a href="<?php 
    the_permalink();
    ?>
">
					<?php 
    lsx_thumbnail('thumbnail-wide');
    ?>
				</a>
			</div>
		<?php 
}
?>

		<div class="property-content">
			<div class="property-top">
				<?php 
the_title('<h3><a href="' . esc_url(get_permalink()) . '" rel="bookmark"><span>', '</span></a></h3>');
?>
				
				<div>
					<span class="property-location">Property Location</span>
コード例 #3
0
ファイル: content.php プロジェクト: LinaPeterssonOberg/exam
	<?php 
lsx_entry_top();
?>

	<header class="entry-header">
		<?php 
if (has_post_thumbnail()) {
    ?>
		<div class="entry-image">
			<a class="thumbnail" href="<?php 
    the_permalink();
    ?>
">
				 <?php 
    lsx_thumbnail('lsx-single-thumbnail');
    ?>
			</a>
		</div>
	<?php 
}
?>

	<?php 
$format = get_post_format();
if (false === $format) {
    $format = 'standard';
    $show_on_front = get_option('show_on_front', 'posts');
    if ('page' == $show_on_front) {
        $archive_link = get_permalink(get_option('page_for_posts'));
    } else {