Find Jobs
Hire Freelancers

Wordpress Language Switcher Code for French

$10-30 CAD

Closed
Posted almost 6 years ago

$10-30 CAD

Paid on delivery
We need a code that works on Frech language page. The code we have work on English pages. You would need to revised PHP code that works on both English and French pages based on the code we provide. Please see code below. <?php if( have_rows('catergories') ): $catergorie_credits = array(); ?> <?php $x=0; while( have_rows('catergories') ): the_row(); $x++; if ($x > 3) { break; } ?> <?php the_sub_field('content'); ?> <?php $catergorie_credits[] = get_sub_field('name');?> <?=$bb[$x];?>"><?=get_sub_field('name');?> <?php endwhile; ?> <?php endif; ?> <?php $x=0; ?> <?php foreach ($catergorie_credits as $credit) { $x++; ?> <?=$bb[$x];?>"><?=$credit;?> The code below works on hard-coded sections for both English and French language pages. We need the above code to work based on the language of the page. <?php if ( ICL_LANGUAGE_CODE=='fr' ) { echo 'French Text goes here.'; } elseif ( ICL_LANGUAGE_CODE=='en' ) { echo 'English text goes here.'; } ?> catergories (english content) catergories-fr (french content)
Project ID: 17038624

About the project

11 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
11 freelancers are bidding on average $32 CAD for this job
User Avatar
//** READY TO START RIGHT AWAY AND FINISH IN NEXT 4 HOURS **// More then 5+ years of experience in Development . Also kindly check our profile we have done over 250 project here on freelancer so very much reliable & fit for your project . Kindly initiate chat.
$80 CAD in 1 day
4.9 (374 reviews)
7.8
7.8
User Avatar
Dear sir I have good experience with WordPress developments and bug fixings, i can able to fix this issue with wpml and acf, if you can send ftp or cpanel and wordpress site logins , i can start the work from now Regards Suneth
$25 CAD in 1 day
5.0 (620 reviews)
7.2
7.2
User Avatar
Hello We use to plugin for language switcher if you want . it is easy to use the method all text translated. other discuss over chat. thanks
$25 CAD in 1 day
4.8 (50 reviews)
5.0
5.0
User Avatar
I am expert in web development using php and WordPress. I can do the specified task in the WordPress site.
$15 CAD in 0 day
4.9 (73 reviews)
5.0
5.0
User Avatar
Hi, I am expert in WordPress and make changes on code as you described language switcher. can we do further discussion ? looking forward your reply!!
$25 CAD in 1 day
5.0 (5 reviews)
3.1
3.1
User Avatar
Hello/Bonsoir I'm not sure why you are getting into complicated solution. There is much easier option to redirect the site according to the language, unless it's something else. Please contact me by chat if possible because I can help you to solve this easily. Best Regards. P.S: I speak French :)
$35 CAD in 1 day
0.0 (1 review)
0.0
0.0
User Avatar
I have good experience with Divi themes and can definitely help you for long term for WordPress development. Yes, I am into Front-end too which includes expertise in UI/UX Mockup designing and more. I am a professional WordPress developer. Specifically I have good amount of experience in using WordPress premium themes and plugins. I have worked with Woocommerce at expert level. I have 5 years of experience with WordPress and successfully delivered many small level website to large level web applications using WordPress. Thanks vicky sharma
$15 CAD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Mississauga, Canada
5.0
146
Payment method verified
Member since Oct 20, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.