Hi there all, i am coding & i am getting little problem which is that i am getting a featured post by adding a custom field and i found a custom loop which grabs the custom field post and displays as a heading what i want is the post is not showing link like
i have a H1 heading its showing its head from Post title but the permalink to that post is not working like the heading is not a link its just a head simple without link to its post can anyone tell me how to add link to that post.. i tried to add the_permalink under the_title(); but no success... i want to link this H1 heading to its post which its showing... thanks
<h1>
<?php if (have_posts()) :
while (have_posts()) : the_post();
$customField = get_post_custom_values("Featured");
if (isset($customField[0])) {
//Custom field is set, display post info
the_title();
}
endwhile;
endif;
?>
</h1>