Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter vladmaxi

    (@vladmaxi)

    and please, help me, how possible add two buttons for pagination – “First Page” and “Last Page”. Please help, very need your support. thanks

    Plugin Author TC.K

    (@wp_dummy)

    To put placeholder :

    add_filter('uwpqsf_string_search', 'new_string_search', '',6);
    function new_string_search($stext, $id,$divid,$defaultclass,$divclass,$options){
    $text ='';
    $stext  = '<div class="'.$defaultclass.' '.$divclass.'"><label class="'.$defaultclass.' '.$divclass.'-keyword">'.$options[0]['strlabel'].'</label>';
    		$stext .= '<input id="'.$divid.'_key" type="text" name="skeyword" class="uwpqsftext" value="" placeholder="Some text here"/>';//replace with your own text in the place holder
            $stext .= '</div>';
    echo $stext;
    }

    put this snippet in your theme’s functions.php.

    As for the pagination, if the pages are more than 5 pages, it will show the First and Last.

    Thread Starter vladmaxi

    (@vladmaxi)

    Thanks you very much! It is the best work!
    but I have one problem identified in their shape sorting I added category.php file and displayed on category pages, but it turns out wrong, I’m in a category such as “Cars” and it seeks records throughout the site. How to make that search worked only within the current category?

    Thread Starter vladmaxi

    (@vladmaxi)

    my be possible do it – https://clip2net.com/s/i3UHNU

    I mean transition when you click on a category in the drop-down list value changes to the current category search is in it, if the user wants to search for all records – he clicks himself, but by default in the current category in which it is

    I hope for your help! thank you!

    Plugin Author TC.K

    (@wp_dummy)

    No it can’t.

    Thread Starter vladmaxi

    (@vladmaxi)

    sorry (

    Thread Starter vladmaxi

    (@vladmaxi)

    dear friend, please tell me, at all possible if try to do? I ask you, since you are familiar with the code …

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Add placeholder for String Search’ is closed to new replies.