Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

How to set search result page by custom field?

Old Sep 28, 2012, 11:51 AM
1 posts · Sep 2012
i need help...
i am having a bbpress website, and i want my search results will be sort by custom field.
the cf is "price", and the result need to be display from the highest to the lowest.

this is the code for my search.php
<?php get_header(); ?>

<div id="main">

<?php do_action( 'bp_before_blog_search' ) ?>

<div class="blog-heading">
<em class="fr"><?php _e('search resulte', 'huddle'); ?></em>
<h3 class="fl"><?php printf( __( '"%s"', 'huddle' ), get_search_query() ); ?></h3>

<div class="clear"></div>

<?php // Include the WordPress loop file
load_template( TEMPLATEPATH . '/includes/loop.php' );

<?php do_action( 'bp_after_blog_search' ) ?>


<?php get_sidebar(); ?>

<?php get_footer(); ?>
this is extremely urgent. i really need help here guys.

i already read a lots of tutorial about it, but still can't do it.

Last edited by lmilesw; Sep 28, 2012 at 12:11 PM.
Old Sep 28, 2012, 12:14 PM
lmilesw's Avatar
10,176 posts · Jul 2009
Central New York State USA
This doesn't appear to be a theme related issue. Which of the BFA themes are you using?
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.


custom fields

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show custom field in kicker - only IF field value exists jaxon Center area post/pages 13 Feb 6, 2013 01:11 PM
[SOLVED] How to configure the font of the page which show a search result. Talia Header configuration & styling 2 May 19, 2011 07:21 AM
Custom field image with custom field link mbastos Atahualpa 3 Wordpress theme 1 Jul 1, 2010 08:17 AM
search box results giving the same result no matter what searched Dani808 Customization, Design, Programming... 5 Dec 31, 2009 07:50 PM

All times are GMT -6. The time now is 08:41 PM.

Powered by vBulletin® Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.