sanshr
Forum Replies Created
-
I am really lost now. nothing gonna work. I have created even the basic search template and call it from my search.php. I think i am putting the above in wrong place. Please be specific exactly where i put this code. i added this just after :-
<?php if (have_posts()) : while (have_posts()) : the_post(); $postcount++;
which finally looks like
<div class="section"> <?php _e( 'Search Results', 'made' ); ?> </div> </div> <div class="ribbon-shadow-right">?</div> <div class="section-arrow">?</div> <?php if (have_posts()) : while (have_posts()) : the_post(); $postcount++; if(isset($_GET['wqsfsubmit'])){ include(TEMPLATEPATH . '/search-phones.php'); }else{ include(TEMPLATEPATH . '/search.php'); } $thisPostType = get_post_type(); //get post type $thisReviewType = $oswcPostTypes->get_type_by_id($thisPostType); //get review type object $isreview=false; if($thisPostType!='post' && $thisPostType!='page' && $thisPostType!='attachment') $isreview=true; //set review variable if($isreview) { $icon = $thisReviewType->icon; $icon_light = $thisReviewType->icon_light; if($oswc_skin=="dark") $icon=$icon_light; $cat = $thisReviewType->name; } else { $cats = get_the_category(); $cat = $cats[0]->cat_name; } //show rating? $rating_hide = get_post_meta($post->ID, "Hide Rating", $single = true); //check if this is a video post $isvideo=false; $video = get_post_meta($post->ID, "Video", $single = true); if($video!="") $isvideo=true; ?>
Updated with this but no success. Here is my search.php and i added this in line 70. May be some syntax irregularities causing the codes showing along with results. the URL also looks quite weird. Like this:
https://www.cellularism.com/?s=8db0521a46&formid=2298&taxo%5B0%5D%5Bname%5D=phone_device_type&taxo%5B0%5D%5Bterm%5D=smartphone&taxo%5B1%5D%5Bname%5D=phone_brand&taxo%5B1%5D%5Bterm%5D=nokia&taxo%5B2%5D%5Bname%5D=phone_weight&taxo%5B2%5D%5Bterm%5D=wqsftaxoall&taxo%5B3%5D%5Bname%5D=phone_thickness&taxo%5B3%5D%5Bterm%5D=wqsftaxoall&taxo%5B4%5D%5Bname%5D=phones_display_type&taxo%5B4%5D%5Bterm%5D=wqsftaxoall&taxo%5B5%5D%5Bname%5D=phone_display-size&taxo%5B5%5D%5Bterm%5D=wqsftaxoall&taxo%5B6%5D%5Bname%5D=phone_display_resolution&taxo%5B6%5D%5Bterm%5D=wqsftaxoall&taxo%5B7%5D%5Bname%5D=phone_pixel_density&taxo%5B7%5D%5Bterm%5D=wqsftaxoall&taxo%5B8%5D%5Bname%5D=phone_cpu_cores&taxo%5B8%5D%5Bterm%5D=wqsftaxoall&taxo%5B9%5D%5Bname%5D=phones_operating_system&taxo%5B10%5D%5Bname%5D=phone_processor_speed&taxo%5B10%5D%5Bterm%5D=wqsftaxoall&taxo%5B11%5D%5Bname%5D=phone_built_in_storage&taxo%5B11%5D%5Bterm%5D=wqsftaxoall&taxo%5B12%5D%5Bname%5D=phone_ram&taxo%5B12%5D%5Bterm%5D=wqsftaxoall&taxo%5B13%5D%5Bname%5D=phone_primary_camera&taxo%5B13%5D%5Bterm%5D=wqsftaxoall&taxo%5B14%5D%5Bname%5D=phone_secondary_camera&taxo%5B14%5D%5Bterm%5D=wqsftaxoall&taxo%5B15%5D%5Bname%5D=phones_network&taxo%5B16%5D%5Bname%5D=phones_multiple_sim&taxo%5B17%5D%5Bname%5D=phones_video_recorder&taxo%5B18%5D%5Bname%5D=phones_sensors&taxo%5B19%5D%5Bname%5D=phone_battery&taxo%5B19%5D%5Bterm%5D=wqsftaxoall&taxo%5B20%5D%5Bname%5D=phones_other-features&taxo%5B21%5D%5Bname%5D=phone_price&taxo%5B21%5D%5Bterm%5D=wqsftaxoall&cmf%5B0%5D%5Bmetakey%5D=make&cmf%5B0%5D%5Bcompare%5D=1&cmf%5B0%5D%5Bvalue%5D=wqsfcmfall&skeyword=&wqsfsubmit=Search
Forum: Plugins
In reply to: [Advance WP Query Search Filter] Search Results doesn't show at allthanks for your reply. please suggest should I start this on the live site to get better findings? If yes then should i have to publish posts first to get the desired search results?
Forum: Plugins
In reply to: [WooCommerce] Advanced Product FiltersYes indeed..and i would also need that kinda plugin as phone model search filter for my site cellularism.com. I guess there is lot of other blogger also who is waiting for that kinda tool… look for this comprehensive set of filters here for instance. cool stuff!
Forum: Plugins
In reply to: Filter images in gallery – similar to quicksand?You can try Quicksand Post Filter jQuery or if you willing to pay a lil extra then try tonic gallery or Pixelmine best of luck
Forum: Plugins
In reply to: Filter Search Results – Live Ajax FilteringI have digged through net and found this amazing article..I m not a coder or intermediate to those kinda stuffs but surely would love to implement this on my site..there you can see the demo also that suggest the perfect example for what we want. How to implement this on wordpress? I am sure someone would come and guide us.
Forum: Plugins
In reply to: Filter Search Results – Live Ajax Filteringi want that functionality too on my site but no success..
Forum: Themes and Templates
In reply to: [Itheme2] read more button not workingno one came to help…dissapointing..
https://www.cellularism.com