Jump to content
Sign in to follow this  
Michael_J

Incorrect Custom Code for page.feature.php

Recommended Posts

Michael_J

Hi. A while ago, I asked for some code to insert links to the most recent three blog posts, at the top of the Feature Plate - Default template. Apparently the code is not correct because it shows the code text at the top of the page. Anyhow, I would like to remove the code for the time being but I'm not sure how to reset. Any suggestions? Thanks!

<?php
	if(VPRO) {
	/*
	Template Name: Feature Page - Default
	*/
	get_header();
	?>
	<div class="postwrap fix" style="margin-bottom:10px;">
	<?php query_posts('showposts=3'); ?>
	<?php while (have_posts()) : the_post(); ?>
	<div class="fix" style="margin:5px; text-align:center;">News Flash: rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></div>
	<?php endwhile;?>
	</div>
	<div class="clear"></div>
	<?php
	require(PRO.'/template_feature.php');
	require(PRO.'/template_fboxes.php');
	get_footer();
	}
	?>

XubLk.jpg

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×