Hi
How do I change the terms showin in the search form please?
I thought I'd managed to work this out myself, but it's not working.
I thought making a duplicate of defaults.php in my child theme's wpadverts folder would work if I changed this;
// Set default search form in [adverts_list] shortcode
Adverts::instance()->set("form_search", array( "name" => "search", "action" => "", "field" => array( array( "name" => "query", "type" => "adverts_field_text", "order" => 10, "attr" => array( "placeholder" => __("Keyword ...", "adverts") ), "meta" => array( "search_group" => "visible", "search_type" => "half" ) ),
To this;
// Set default search form in [adverts_list] shortcode
Adverts::instance()->set("form_search", array( "name" => "search", "action" => "", "field" => array( array( "name" => "query", "type" => "adverts_field_text", "order" => 10, "attr" => array( "placeholder" => __("Accommodation Type ...", "adverts") ), "meta" => array( "search_group" => "visible", "search_type" => "half" ) ),
But nothing happened.
Am I close?
Thanks
https://wordpress.org/plugins/wpadverts/
WordPress ...
ما را در سایت WordPress دنبال می کنید
برچسب : نویسنده : استخدام کار wpss بازدید : 350 تاريخ : سه شنبه 12 مرداد 1395 ساعت: 17:40