Found this gem from your forum:
add_filter('pagelines_search_form','override_search_form');
function override_search_form() {
$searchfield = sprintf('', 'Haku'); // modify here
$searchform = sprintf('', home_url(), $searchfield);
return $searchform;
}
Trying to paste it to functions.php with no success (1.5 platform base child theme)
Is there something missing? What exactly is the location of this item in php-file?
Search filed translation
Started by
jessesoininen
, Aug 24 2012 08:57 AM
5 replies to this topic
#1
Posted 24 August 2012 - 08:57 AM
#2
Posted 24 August 2012 - 09:50 AM
Hi, i don??t have platform (I have Pagelines Frameworks) but i believe
You can see this link
#3
Posted 24 August 2012 - 10:34 AM
Thx, i guess this plugin only works with Framework and Not with previous Pagelien Pro versions.
#4
Posted 24 August 2012 - 03:14 PM
Yeah, I believe this is a function for PageLines Framework.
#5
Posted 24 August 2012 - 03:21 PM
Just wondering who came with this genius idea of hard coding the search field in the first place. Ok better to continue with widgets again... i suppose
#6
Posted 24 August 2012 - 03:22 PM
I would suggest using the widget search field as an alternative.












