| Server IP : 157.230.181.24 / Your IP : 216.73.217.11 Web Server : Apache/2.4.58 (Ubuntu) System : Linux conductive 6.8.0-117-generic #117-Ubuntu SMP PREEMPT_DYNAMIC Tue May 5 19:26:24 UTC 2026 x86_64 User : ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/vhosts/highlyfaved/public/wp-content/themes/HighlyFaved.com/ |
Upload File : |
<?
/**
* @package WordPress
* @subpackage Blessed & Highly Faved
* Template Name: Archive
*/
add_action('wp_print_styles',enqueue_color_styling('b64a31','FFF','db5739','FFF'));
$per_page=10;
$paged=(get_query_var('paged'))?get_query_var('paged'):1;
get_header();
?>
<div id="stage" class="wrapper bg">
<? if(have_posts()): while(have_posts()): the_post(); ?>
<div class="ribbon" id="title-ribbon">
<div class="bigger">
<h1><a href="<? the_permalink() ?>"><? the_title() ?></a></h1>
<!-- <a class="button dropdown" href="<? the_permalink() ?>"><span>Month</span></a> -->
</div>
</div>
<div class="content clearfix">
<?
$archive=new WP_Query(array(
'paged'=>$page,
'posts_per_page'=>$per_page,
'paged'=>$paged
));
$i=1;
?>
<? if($archive->have_posts()): ?>
<ul class="thumbnail-list">
<? while($archive->have_posts()): $archive->the_post(); ?>
<li <? if($i%5==0) echo 'class="last"' ?>>
<article>
<? $color=get_post_meta($post->ID,'post_primary_color',TRUE); ?>
<a href="<? the_permalink() ?>#details" style="background-color:#<?= $color ?>">
<?
the_post_thumbnail('thumbnail',array(
'alt'=>get_the_title(get_the_ID()),
'title'=>get_the_title(get_the_ID())
));
?>
<span class="date">
<span><?= get_the_date('l') ?></span>
<span><?= get_the_date('F j') ?></span>
<span><?= get_the_date('Y') ?></span>
</span>
</a>
</article>
</li>
<? $i++ ?>
<? endwhile; ?>
</ul>
<? endif; ?>
</div>
<? endwhile; endif; ?>
</div>
<? if(($p=previous_posts(FALSE)) && preg_match('/page/',get_uri())>0): ?>
<a id="newer" href="<?= $p ?>">
<span class="left-arrow">Previous Page</span>
</a>
<? endif; ?>
<? if($p=next_posts($archive->max_num_pages,FALSE)): ?>
<a id="older" href="<?= $p ?>">
<span class="right-arrow">Next Page</span>
</a>
<? endif; ?>
<? get_footer() ?>