Jump to content
driesup

Search Results Always In English

Recommended Posts

driesup    0
driesup

Hi,

 

I have a pagelines website running WPML with three languages. French, Dutch, English.

 

When I do a search, for instance when in French, I only get English results. Obviously I need the French results.

 

What's the solution?

 

Thanks!

Share this post


Link to post
Share on other sites
Simon    247
Simon

The search form uses the wordpress function home_url() to get the URL to post to, thats a standard.

 

You can replace the search form by adding a file searchform.php to your child theme and adding your own form html.

Share this post


Link to post
Share on other sites
Simon    247
Simon

Install the base theme ( child theme ) create a new file searchform.php in that folder, and add that html to that file.

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


×