Find Jobs
Hire Freelancers

I need to create a user role for visitors in WordPress

$10-30 USD

Completed
Posted over 7 years ago

$10-30 USD

Paid on delivery
I need a script to check if users on a WordPress installation are logged in, if they are not I would like to assign them a custom user role with certain capabilities. I have tried the following code however it causes the media library to not load, I'm hoping someone has the right solution, thanks. /*if( is_user_logged_in() ) { echo "<p style='display:none'>Welcome</p>"; } else { add_role( 'custom_user', 'Custom User', array( 'read' => true ) ); }
Project ID: 12262977

About the project

17 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
I can start right now. Hi, I hope you are doing fine. I have more than 200 Five Stars feedback, I have good command on designing and developing. Please check my profile https://www.freelancer.com/u/harshatilva.html I read your project description and would like to work with you. I will provide you 100% satisfaction guaranteed. You can release payment after work is done. My services include Data Migration, Server Transfer, Magento, Open Cart, Joomla, Prestashop, OS commerce, WordPress, PHP, Designing, PSD to HTML, Jquery, Angular Js and technical support. Awaiting for your positive reply and looking forward to working on your project. Feel free to ask me any question you may have. Thank you,
$30 USD in 0 day
4.9 (490 reviews)
7.9
7.9
17 freelancers are bidding on average $34 USD for this job
User Avatar
Dear Client, I have just gone through short description of your project. I'm interested to work on your project and sure give to you best quality of work. Please add us on Freelancer chat Box to start the discussion. Thanks for reading my proposal. Regards, Webtek Labs
$30 USD in 1 day
4.7 (148 reviews)
6.8
6.8
User Avatar
Hello There, Well yes, I do have a solution for this and to discuss this can we schedule a quick meeting / Interview with that you can judge my skills. Cheers, Dany K
$50 USD in 3 days
4.9 (29 reviews)
6.4
6.4
User Avatar
Hello, "I would love to help you what you are trying to achieve in your site regarding user roles. However could you please share more details of the requirement?" Please give me a chance to work with you or open chat to discuss further. Thanks & Regards, Vipworks
$30 USD in 1 day
4.9 (217 reviews)
6.4
6.4
User Avatar
Hi, I am expert Website designer. I have read your Project design requirement and interested to work on your project. I want to know more details about your project. I am ready to start work on your project quickly. Garima
$116 USD in 5 days
4.9 (51 reviews)
5.7
5.7
User Avatar
Hi, I've read your project description and has few confusion about the requirements: - You want to give role to user even when he is not logged in? How it will happen when we don't know who the user is and which record we have to update for that unknown user? - What I think is there are two possibilities for this that we can store role in session and use that for further functionality. Or we can assign a custom user to that unknown user and use further. We can discuss more about it in details. Thanks
$25 USD in 1 day
4.9 (51 reviews)
5.5
5.5
User Avatar
hello we are expert in web design using css html js bootstrap and developing using php wordpress, woocommerce, and ecommerce. So lets create the user role in wordpress. We are perfect to work on it :)
$25 USD in 1 day
4.7 (12 reviews)
3.9
3.9
User Avatar
Hello I am ready to start this work from now. I have more than 6 years of professional developing experience and advanced computer skills. I have done the projects in core php, codeignitor, Javascript, Symfony PHP, Cake PHP, Smarty, Opencart, Joomla, API development, Oscommerce, Bigcommerce, Salesforce CRM, Laravel, Shopping cart related work, Only backend work, Drupal, Prestashop, Android apps, IOS apps and many more other works. Please let me know about your point of view about this. Thanks
$25 USD in 1 day
2.2 (9 reviews)
4.2
4.2
User Avatar
Hello Sir, I am professional web developer. I have experience of more than 4 years in wordpress. After go through your job details I'm pretty much confident that i can solve your issue using my development skills with quality work. I guarantee high quality work, quick answers on you messages and responsibility. Thank you for sharing such interesting project and opportunity to bid on it. Waiting for your reply. Thanks!
$10 USD in 0 day
5.0 (2 reviews)
1.2
1.2
User Avatar
Hi, I have an intensive 8 years experience in website design and development. I am very versed in the design and development of websites using php, joomla, drupal, html, magento, wordpress, open cart, shopify, prestashop and ecommerce enabled CMS packages.I am also very good at customization and adjustments. I am very good at the resolution of errors, malwares and outright hack of the entire CMS. I will fix it and set it right. I am also very good at upgrading of entire themes, plugins and CMS packages without any hitch and increasing the loading speed of any website. I am a strong proponent of ecommerce CMS packages like Bigcommerce, Oscommerce, woocommerce,etc and i have designed and setup so many websites with them and I am also very good at design and development of mobile apps. I have read through the requirements of your offer and i can get that done within limited time. Thank you in anticipation of your favourable response
$25 USD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Elberon, United States
4.8
43
Member since Feb 21, 2014

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.