Find Jobs
Hire Freelancers

Create a Wordpress function script

₱440 PHP

Cancelled
Posted almost 9 years ago

₱440 PHP

Paid on delivery
1st condition of the script: -If the user role is not “CONTRIBUTOR” but the single product was his own upload, he can see his link For example: The user is a “seller” and producttitleABC is his product, then he could enter his this link [login to view URL] but if he enter the url [login to view URL] and productXYZ is not his product, then he will direct to 404 page. 2nd condition of the script: -If the user role is not “CONTRIBUTOR” then the user cannot enter the “PANTS” product category. For example: he cannot enter the link [login to view URL] it will direct to 404 page unless I change his user role manually in admin backend 3rd condition of the script: -If the product is not his upload, but he is a “CONTRIBUTOR” then he can see the links under “PANTS” category. 4th condition of the script: -if the client has change into a userole “CONTRIBUTOR” count 14days, after “14” days, the userole change back to its previous userole NOTES: 1- Clean script, I wanted to type the word ONLY ONCE above the script of the word, “CONTRIBUTOR” “PANTS” “14” I don’t want to keep typing the these words in the whole script, AND this is just sample user role, pants and 14 days, I may change it in the future 2- Use this code “$post->ID” to enter the url product link, because when the seller clicks the edit button to edit their product, they cannot edit the product because edit button url direct is restricted only to “CONTRIBUTOR” user role, this is where your script enters so that even if the userole is not “CONTRIBUTOR” but the “$post->ID” is his own upload, then he could enter his product link. 3- in the end, I'm expecting to received only the script that will be put in the function of my child theme. Do not put all the script in one, seperate the 4 script, so that i know which script does that function. 4- there is no website up, I'm not giving anything sql database anything, i don't want you to tweak any of my sql. I don't want other method, I just wanted the script that will be put in the function code. 5- Please quote me the price, don’t tell me later on that you can’t do it and it’s hard to do then you need a price increase after awarding. No tricks. 6- Don’t try to put malicious code inside the function code, the final code will be check by a professional web developer.
Project ID: 8128631

About the project

3 proposals
Remote project
Active 9 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
3 freelancers are bidding on average ₱623 PHP for this job
User Avatar
A proposal has not yet been provided
₱570 PHP in 4 days
5.0 (50 reviews)
5.7
5.7

About the client

Flag of PHILIPPINES
Manila City, Philippines
5.0
1
Member since Jul 19, 2015

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.