Fatal error?
-
I am using a WNN theme and I set it up on my blog and I get the message:
Fatal error: Call to undefined function: show_featured_post() in /home/smeharbi/public_html/beta/wp-content/themes/wnn_free-1/wnn/index.php on line 19
I went to my index and the code for line 19 reads:
<?php show_featured_post() ?>If you need more code than that here is lines 11-26.
<div id=”exccontent”>
<div id=”excpost”>
<?
if ($wnn_fimg) { ?>
<? echo “<img src=\”” . str_replace(“\\”, “”, $wnn_fimg) . “\” width=\”267px\” />”; ?>
<? } else { ?>
<img src=”<?php bloginfo(‘template_directory’); ?>/images/featuredimg.jpg” />
<? } ?>
<?php show_featured_post() ?>
</div>
<div id=”recentposts”>
<span id=”h4″>Latest News</span>- <?php mdv_recent_posts(); ?>
</div>
<div id=”clear”></div>
</div>So i see that it is looking for a featured post. But i don’t know how to access it or create one. So my blog now look likes this:
https://beta.smeharbinger.net/admin/
Does anyone have a guide on how I could fix this. Also I hope it’s not complicated because I’m still pretty new to coding.
Thanks
- The topic ‘Fatal error?’ is closed to new replies.