Dan777
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Logo change on different languageThis should be pretty easy, why noone can’t help me?
Forum: Fixing WordPress
In reply to: How to sort posts by priceWitch fields require changing so the search shows posts by value – price?
Forum: Fixing WordPress
In reply to: Search filter for temperaand then created a search which looks at those custom fields
How do you crate such a search?
Forum: Fixing WordPress
In reply to: Search filter for temperaFor a post to show up after a search it needs to have a meta tag that user is searching? Or how this works?
Custom meta field or tag?
Bahh….
WP_Query:
<?php // The Query $the_query = new WP_Query( $args ); // The Loop while ( $the_query->have_posts() ) { $the_query->the_post(); echo '<li>' . get_the_title() . '</li>'; } /* Restore original Post Data * NB: Because we are using new WP_Query we aren't stomping on the * original $wp_query and it does not need to be reset. */ wp_reset_postdata(); /* The 2nd Query (without global var) */ $query2 = new WP_Query( $args2 ); // The 2nd Loop while( $query2->have_posts() ) { $query2->next_post(); echo '<li>' . get_the_title( $query2->post->ID ) . '</li>'; } // Restore original Post Data wp_reset_postdata(); ?>
$query = new WP_Query( array ( 'post_type' => 'product', 'orderby' => 'meta_value', 'meta_key' => 'price' ) );
Forum: Fixing WordPress
In reply to: Search filter for temperaThank you for you’re time guys, appreciate it!
WPDeveloper – using meta fields is okay? For a example if I have a product in a post and the meta price is listed – using the meta box the user will be able to find that product entering the meta key price correct?
But how to get 2 boxes for price range – from, till?
webbrewers – a plugin would be great, don’t know what exactly am i looking for – meta search?
Sorry if I sound ridiculous.Forum: Themes and Templates
In reply to: [Tempera] How to display posts horizontallyFound it in the theme options.
Forum: Fixing WordPress
In reply to: Search filter for temperaGuys, help!
What is required for a filter to search between 3 categories with special boxes where the use can pick how many rooms, the price range etc?With what to start?
Forum: Themes and Templates
In reply to: [Tempera] How to display posts horizontallyCan you please tell me where I need to edit the code to get posts on blog show up in 3 columns or get posts horizontally please?