Completed

PHP help to conditionally output ACF (Custom Field) file type to download file link.

Hi,

I use WordPress & Advanced Custom Fields.

I'm looking to create a shortcode for 1 ACF File Type fields. This shortcode is to provide download link for the file based on conditions IF user is Logged in and IF file is available.

1 field ( $homereport = get_field('home_report_pdf',$post->ID); )

// If File available, provide download link

// If field empty -> File Not Uploaded, output request form with WP-Forms Shortcode [wpforms id="xxxxx"]

// If User Logged Out - Inform user to log in to download file

I do have some coding knowledge, but I'm still new to PHP. I have made my best attempt at achieving this, but I'm getting stuck, and I need this task complete.

In my example code file below, I have 3 fields listed for example, I am only using one get_field.

Likewise, I am looking for somebody to provide their service to help successfully finish my shortcode setup and provide relevant CSS accordingly for a nice output display.

The budget £10 & this task will most likely take no longer than 30 minutes if you have the required skills.

Thanks,

Skills: PHP, WordPress, CSS, HTML

About the Client:
( 5 reviews ) Ayr, United Kingdom

Project ID: #33750358

Awarded to:

BZOTech

Hello, I can create a shortcode for ACF File Type fields properly, ready to start right away. I am from BZOTech team. We are a web development and design team having 12+ years of website development and design. We have More

£12 GBP in 1 day
(20 Reviews)
3.9

17 freelancers are bidding on average £14 for this job

evgendob

Hello. WordPress development expert ready to help you with a shortcode creation. I have more than 400 good reviews and more than 11 years of development experience behind, so all job will be done with the best quality More

£30 GBP in 1 day
(665 Reviews)
8.3
(311 Reviews)
7.0
(155 Reviews)
6.7
BitLabs

Dear sir, I have gone through your outsourced requirement " PHP help to conditionally output ACF (Custom Field) file type to download file link. " and have analyzed that I have right credentials ( PHP WordPress CSS More

£13 GBP in 7 days
(144 Reviews)
6.8
wpdevaliraza

Hello there, Season greetings! I have had a quick look at your initial project description and understood the basic requirements and can get started very soon. Being industrial Web Tech/WordPress PRO in Divi, Element More

£15 GBP in 1 day
(58 Reviews)
5.9
sku5551ed6fd9643

I can start work right now Hi, I am a FULL-STACK Developer with 7+ years of experience. That's why I concentrate on researching your requirement carefully and fully to meet your needs quickly. I have gone through every More

£13 GBP in 7 days
(43 Reviews)
5.6
patelmaulikmca

hello, i have read about changes in wordpress acf field work. and i will do it I have 6 year experience in joomla and wordpress and magento and codeigniter and prestashop and i have also 3 month experience in laravel More

£10 GBP in 1 day
(34 Reviews)
4.5
tohamelnik

Hello How are you? Thanks for your posting job. I have read your project requirements and I am 100% sure I can complete your project perfectly. ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ I have 6+ years experience in HTML, CSS, j More

£13 GBP in 1 day
(14 Reviews)
4.6
nutankumarftp

Hi There, I am available to start immediately. I have read your post requirement for the "I do have some coding knowledge, but I'm still new to PHP. I have made my best attempt at achieving this, but I'm getting stuck, More

£13 GBP in 7 days
(29 Reviews)
4.8
Prabhakar3333

Dear Client, Thank you for posting this great opportunity "" I am Prabhakar Singh A Full-stack Web developer with a major focus on front-end as well backend development. I have 4+ years experience in PHP/WordPress/C More

£13 GBP in 7 days
(15 Reviews)
4.1
ahmershah1

Hi There, I read your project detail regarding ACF custom field task, We are a team of highly skilled and experienced professionals in the field of web design and development. we can surely help you to fix this in a t More

£15 GBP in 1 day
(9 Reviews)
4.2
(8 Reviews)
3.4
tagztech76

Yes, It's not more than 30 mins to complete this. I have checked your code you trying to first get that three ACF fields then extracting the ACF variable and trying to apply condition on WordPress through your code. S More

£13 GBP in 7 days
(7 Reviews)
2.0
mkbmayank9

Hi There, Greetings I have read the all things that you want and I will setup output as per your request. I have experience in web designing, web content developing, client/server side scripting, wordpress themes a More

£15 GBP in 1 day
(2 Reviews)
1.4
gradeheroclub

Hello, First receive warm greetings, and hoping you are good, i welcome you to the home of Amazing services and quality. I have carefully gone through your project titled ((PHP help to conditionally output ACF (Custom More

£15 GBP in 2 days
(0 Reviews)
0.0
techdeer

⭐⭐I have worked on lots of projects where I individually not only built an esthetically pleasing website but also manage and update their sites without much directions that helps them achieve their business goals and g More

£13 GBP in 1 day
(1 Review)
0.0