RP_Rave1_theme/template-parts/content.php

87 lines
2.4 KiB
PHP
Raw Permalink Normal View History

2024-11-06 10:10:48 +00:00
<!-- Rooms Grid - 2 cols -->
<div class="row rooms rooms--grid js-rooms--grid">
<!-- Room #1 -->
<div class="room col-md-6 room--category-normal">
<div class="room__inner">
<!-- Badge -->
<div class="room__badge room__badge--secondary" title="Upcoming">
<i class="fas fa-history"></i>
</div>
<!-- Badge / End -->
<div class="room__body">
<!-- Rating -->
<!-- Rating / End -->
<!-- Title -->
<h2 class="room__title"><a href="room-single.html"><?php the_title( '<h1 class="entry-title"><a href="'. esc_url( get_permalink() ) .'" rel="bookmark">', '</a></h1>'); ?></a></h2>
<!-- Title / End -->
<!-- Meta -->
<div class="room__meta">
<div class="room__meta-item">
<i class="ion-person-stalker"></i> 2-3
</div>
<div class="room__meta-item">
<i class="icon-clock"></i> 60
</div>
<div class="room__meta-item">
<i class="ion-location"></i> <a href="<?php the_permalink(); ?>" class="btn btn-sunset"><?php _e( 'Read More' ); ?></a>
</div>
</div>
<!-- Meta / End -->
</div>
<!-- Image -->
<figure class="room__img">
<a href="<?php the_permalink(); ?>"><img src="<?php the_post_thumbnail(); ?>" alt=""></a>
</figure>
<!-- Image / End -->
</div>
</div>
</div>
</div>
</div>
<!---
<?php
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header text-center">
<?php the_title( '<h1 class="entry-title"><a href="'. esc_url( get_permalink() ) .'" rel="bookmark">', '</a></h1>'); ?>
<div class="entry-meta">
<?php echo sunset_posted_meta(); ?>
</div>
</header>
<div class="entry-content">
<?php if( sunset_get_attachment() ): ?>
<a class="standard-featured-link" href="<?php the_permalink(); ?>">
<div class="standard-featured background-image" style="background-image: url(<?php echo sunset_get_attachment(); ?>);"></div>
</a>
<?php endif; ?>
<div class="entry-excerpt">
<?php the_excerpt(); ?>
</div>
<div class="button-container text-center">
<a href="<?php the_permalink(); ?>" class="btn btn-sunset"><?php _e( 'Read More' ); ?></a>
</div>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php echo sunset_posted_footer(); ?>
</footer>
</article>--!>