Jump to content


Photo
- - - - -

Search filed translation


This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1 jessesoininen

jessesoininen

    Advanced Member

  • Members
  • 31 posts

Posted 24 August 2012 - 08:57 AM

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?

#2 batman

batman

    Bat Learning

  • Members

  • 2067 posts

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

Please Login or Register to see this Hidden Content



#3 jessesoininen

jessesoininen

    Advanced Member

  • Members
  • 31 posts

Posted 24 August 2012 - 10:34 AM

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

#4 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 24 August 2012 - 03:14 PM

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

#5 jessesoininen

jessesoininen

    Advanced Member

  • Members
  • 31 posts

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 catrina

catrina

    Advocate

  • Members
  • 12345 posts

Posted 24 August 2012 - 03:22 PM

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