Archived

This topic is now archived and is closed to further replies.

  • 0

Search filed translation

Question

Posted · Report post

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('%s', 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?

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Thx, i guess this plugin only works with Framework and Not with previous Pagelien Pro versions. :)

Share this post


Link to post
Share on other sites

Posted · Report post

Yeah, I believe this is a function for PageLines Framework.

Share this post


Link to post
Share on other sites

Posted · Report post

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

Share this post


Link to post
Share on other sites

Posted · Report post

I would suggest using the widget search field as an alternative.

Share this post


Link to post
Share on other sites