Jump to content
Sign in to follow this  
jessesoininen

Search filed translation

Recommended Posts

jessesoininen    0
jessesoininen

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
jessesoininen    0
jessesoininen

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
jessesoininen    0
jessesoininen

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×