View Single Post
Old 02-24-2009, 02:20 PM  
Dennis69
Confirmed User
 
Join Date: Feb 2003
Location: Dreamland
Posts: 1,685
Wordpress Help with Searching

I'm trying to find out why my posts don't show the links or images when I do a search... it only shows some of the text from that post, is there something in the code that I need to remve, change that will fix it?

I went to the original designer for the theme but it's been sold and they have nothing on this theme anymore so any help would be greatly appreciated

Code:
<?php get_header(); ?>

<div id="page">

	<div class="pagecap"><?php _e('Search Results'); ?></div>

	<?php get_sidebar(); ?>

	<div class="narrowcolumn">

		<div class="maincol"><div class="maincol-padding">

			<?php include(TEMPLATEPATH . '/rsssubscribe.php'); ?>

			<?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

			<div class="post" id="post-<?php the_ID(); ?>">
				<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2>
				<div class="entry">

					<?php the_excerpt(); ?>

					<!-- <?php trackback_rdf(); ?> -->

				</div>
				<div class="postmetadata">
<?php _e('Filed under&#58;'); ?> <?php the_category(', ') ?> &#124; <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?> <?php edit_post_link('Edit', ' &#124; ', ''); ?>
				</div>
			</div>

			<?php endwhile; ?>

			<?php include (TEMPLATEPATH . '/browse.php'); ?>

			<?php else : ?>

			<div class="post">
				<h2><?php _e('Not Found'); ?></h2>
				<?php _e('Sorry, but you are looking for something that isn&#39;t here.'); ?>
			</div>

			<?php endif; ?>

		</div></div>

	<?php include(TEMPLATEPATH . '/obar.php'); ?>

<?php get_footer(); ?>
__________________
HaHaHa
Dennis69 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote