Show Wordpress Custom Post Fields to Logged In & Non Loggin In Users

Completed Posted 2 years ago Paid on delivery
Completed Paid on delivery

I would like to show custom post type field "see_tickets" to all website visitors that have not Registered or Logged into PartyFixx.co. Once registed and logged in, this should not be visible.

I would like to show custom post type field "tickets_rsvp_url" only website visitors that are Registered and Logged into PartyFixx.co.

WordPress PHP HTML CSS Website Design

Project ID: #32293729

About the project

12 proposals Remote project Active 2 years ago

Awarded to:

sureshdevi

Hello, I will make changes to show see_tickets and tickets_rsvp_url custom post fields to registered and non-registerd users. I will complete this work in next few hours. Looking for your reply to start this work imme More

$21 USD in 1 day
(1385 Reviews)
8.3

12 freelancers are bidding on average $31 for this job

samair0

hello , hope you are fine i have very good grip in wordpress, i will do this for you now that is my portfolio you can check https://www.freelancer.com/u/samair0

$30 USD in 1 day
(549 Reviews)
7.0
itsoftwarelab

Hi...I have more than 10 years of experience in WordPress and other required skills for this project. So, I can do this customisation for you. Please let me know when we can discuss and share all the details. Websit More

$25 USD in 7 days
(59 Reviews)
5.9
usdadp

Hi I read your job post and according that get clear idea about your requirement. I know very well how to fetch custom post type custom field and show based on user logged in or not. i have 9+ years working experienc More

$20 USD in 1 day
(20 Reviews)
4.6
magneticrex

Hello! I'm interested in the project, I have some questions before we start about partyfixx.co. Please contact me.

$30 USD in 2 days
(0 Reviews)
0.0
hoatnm

You can try this code to show or hiden your field: <?php if(is_user_logged_in()) : ?> <a href="<?php the_field('tickets_rsvp_url'); ?>"><?php the_field('see_tickets'); ?></a> <?php else : ?> // Do Nothing <?php endif; More

$10 USD in 1 day
(0 Reviews)
0.0