Find Jobs
Hire Freelancers

Add one line of PHP code to redirect to a url in elseif statement.

$10-30 CAD

Completed
Posted over 6 years ago

$10-30 CAD

Paid on delivery
This is a bit of code from a wordpress plugin. I want to add a line of code that will redirect users to another url when this part of the code is being executed: }elseif(!$vortex_like_dislike['v-switch-anon'] && !is_user_logged_in()){ wp_enqueue_style( 'vortex_like_or_dislike', plugin_dir_url( __FILE__ ).'assets/css/[login to view URL]' ); wp_enqueue_script( 'jquery' ); wp_enqueue_script( 'vortex_login_js', plugin_dir_url( __FILE__ ).'assets/js/[login to view URL]', array(), '1.0',true); wp_localize_script( 'vortex_login_js', 'vortex_login', array( 'text' => $vortex_like_dislike['v-login-text'], ) ); } I am using the "Rating System" wordpress plugin. The "[login to view URL]" file, line 956 to 965. For example, when that elseif is being executed, i want the page to go to "[login to view URL]"
Project ID: 15577157

About the project

7 proposals
Remote project
Active 7 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
Awarded to:
User Avatar
Provide the ftp access & wp-admin will add the code as needed for redirection Relevant Skills and Experience 7 years of wordpress experience Proposed Milestones $10 CAD - for work
$10 CAD in 0 day
4.8 (167 reviews)
6.4
6.4
7 freelancers are bidding on average $20 CAD for this job
User Avatar
Quick and easy, Let's get the redirection setup. Thanks Relevant Skills and Experience PHP, WordPress Proposed Milestones $13 CAD - After completion
$13 CAD in 0 day
5.0 (1031 reviews)
8.7
8.7
User Avatar
Hello I can help you today with it. GMT -3 time more or less like you Habilidades y experiencia relevante I'm a php developer with several years of experience and WP experience Htos propuestos $40 CAD - Completed
$40 CAD in 1 day
5.0 (64 reviews)
5.3
5.3
User Avatar
I am an expert web developer and I can do the job just message me so we can proceed! Relevant Skills and Experience I have 5 years experience in web development and I can share my enthusiasm for the project. Proposed Milestones $30 CAD - Project Fee Additional Services Offered $100 CAD - Website Security $50 CAD - Website Maintenance
$30 CAD in 1 day
5.0 (1 review)
1.2
1.2
User Avatar
I have 4+ years in php, so i can complete the task in under 2 hours. Relevant Skills and Experience php, backend scripting, codeigniter Proposed Milestones $20 CAD - completed project.
$15 CAD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of CANADA
Moncton, Canada
5.0
7
Payment method verified
Member since May 1, 2016

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.