Where is my picture code?
-
Hey,
I’m trying to make my picture smaller which displays in my search results when I perform a search (pic from woocommerce/products)
Here’s the code for the search form…can anyone tell me how to change the picture size??
uwpqsf_result_tempt makes a picture be displayed. If anyone can help I’d be eternally grateful. Thanks.
<?php function uwpqsf_result_tempt($pagenumber, $pages = '', $range = 4, $id,$getdata){ $showitems = ($range * 2)+1; $paged = $pagenumber; if(empty($paged)) $paged = 1; if($pages == '') { global $wp_query; $pages = $query->max_num_pages; if(!$pages) { $pages = 1; } } if(1 != $pages) { $html = "<div class=\"uwpqsfpagi\"> "; $html .= '<input type="hidden" id="curuform" value="#uwpqsffrom_'.$id.'">'; if($paged > 2 && $paged > $range+1 && $showitems < $pages) $html .= '<a href="#">« '.__("First","UWPQSF").'</a>'; $previous = $paged - 1; if($paged > 1 && $showitems < $pages) $html .= '<a href="#">‹ '.__("Previous","UWPQSF").'</a>'; for ($i=1; $i <= $pages; $i++) { if (1 != $pages &&( !($i >= $paged+$range+1 || $i <= $paged-$range-1) || $pages <= $showitems )) { $html .= ($paged == $i)? '<span class="upagicurrent">'.$i.'</span>': '<a href="#">'.$i.'</a>'; } } if ($paged < $pages && $showitems < $pages){ $next = $paged + 1; $html .= '<a href="#">'.__("Next","UWPQSF").' ›</a>';} if ($paged < $pages-1 && $paged+$range-1 < $pages && $showitems < $pages) { $html .= '<a href="#">'.__("Last","UWPQSF").' »</a>';} $html .= "</div>\n";$max_num_pages = $pages; return apply_filters('uwpqsf_pagination',$html,$max_num_pages,$pagenumber,$id); }
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Where is my picture code?’ is closed to new replies.