| 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
*/
global $post;
get_header();
?>
<? if(have_posts()): the_post(); ?>
<article class="article">
<div class="container">
<div class="row">
<div class="sixcol">
<h1 class="article-title"><a href="<? the_permalink() ?>"><? the_title() ?></a></h1>
</div>
<div class="threecol">
<?
$pubDate=get_the_time('Y-m-d H:m:s');
$theDate=date("l, F jS",strtotime($pubDate));
?>
<span class="br">
<strong>Posted </strong> <time class="date" pubdate datetime="<?= $pubDate ?>"><?= $theDate ?></time>
</span>
<span class="br">
<?
$categories=get_the_category(get_the_id());
if(count($categories)>0) {
echo '<strong>In</strong> ';
for($i=0; $i<count($categories); ++$i) {
$category=$categories[$i];
echo '<a href="'.get_category_link($category->cat_ID).'" class="category-title">'.$category->cat_name.'</a>';
if($i<count($categories)-2)
echo ', ';
elseif($i<count($categories)-1)
echo ' & ';
}
}
?>
</span>
</div>
</div>
<div class="row">
<div class="ninecol the_content">
<?/*
the_post_thumbnail('photo',array(
'alt'=>get_the_title(get_the_ID()),
'title'=>get_the_title(get_the_ID())
));
*/?>
<? the_content() ?>
</div>
</div>
</div>
<?
if(function_exists('MRP_get_related_posts')) {
$articles=MRP_get_related_posts(get_the_ID(),TRUE,TRUE,'article');
if(is_array($articles)): ?>
<div class="related-articles clearfix">
<h3>Where to Get Them?</h3>
<ul>
<? foreach($articles as $row): ?>
<? $thumbnail=wp_get_attachment_image_src(get_post_thumbnail_id($row->ID),'thumbnail') ?>
<li>
<a href="<?= get_post_meta($row->ID,'article_link',TRUE) ?>" rel="external">
<img src="<?= $thumbnail[0] ?>" alt="<?= get_the_title($row->ID) ?>"/>
<span class="date">Click to open in new tab</span>
</a>
</li>
<? endforeach; ?>
</ul>
</div>
<? endif;
}
?>
</article>
<? endif; ?>
<? get_footer() ?>