What theme are you using? Where did you download it from?
Thread Starter
tPet
(@firequartz)
had it for years .. it’s been tweaked and customized a ton .. in various ways on various sites .. this is the search.php file though …
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<?php if (have_posts()) : ?>
<h2 class="pagetitle">Search Results</h2>
<div class="navigation">
<p><?php next_posts_link('« Previous') ?> <?php previous_posts_link('Next »') ?></p>
</div>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<ul class="date">
<li class="day"><?php the_time('d') ?></li>
<li class="month"><?php the_time('M') ?></li>
</ul>
<ul class="title">
<li class="topic"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></li>
<li class="postmeta"><?php the_time('g:i a'); ?> | <class="postmetadata">Posted in <?php the_category(', ') ?> <?php edit_post_link('| Edit'); ?></li>
</ul>
<div class="clear"></div>
<div class="entry">
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
<?php link_pages('<p><strong>Pages:</strong> ', '</p>', 'number'); ?>
</div>
</div>
<?php endwhile; ?>
<div class="navigation">
<p><?php next_posts_link('« Previous') ?> <?php previous_posts_link('Next »') ?></p>
</div>
<?php else : ?>
<h2 class="center">No posts found. Try a different search?</h2>
<?php include (TEMPLATEPATH . '/searchform.php'); ?>
<?php endif; ?>
</div>
<?php include("sidebar3.php"); ?>
<?php get_footer(); ?>
Try:
– deactivating all plugins to see if this resolves the problem? If this works, re-activate the plugins one by one until you find the problematic plugin(s).
– switching to the default theme to rule out any theme-specific problems.
Thread Starter
tPet
(@firequartz)
Disabling plug-ins .. no difference.
Switch themes … no difference.
Thanks though.
Can we have a link to your site?
You can try to check in this plugin
http://wordpress.org/plugins/list-category-posts/
how is the order changed in html/php code.
It is made using these shortcodes:
order=desc
order=asc
Thread Starter
tPet
(@firequartz)
Sorry .. got involved in other things – and this really wasn’t a hot button for me .. anyway.. looks like WP 3.8 corrected the issue.