Lengkap

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,

Kemahiran: PHP, Wordpress, CSS, HTML

Tentang Klien:
( 5 ulasan ) Ayr, United Kingdom

ID Projek: #33750358

Dianugerahkan kepada:

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 Lagi

£12 GBP dalam sehari
(20 Ulasan)
3.9

17 pekerja bebas membida secara purata £14 untuk pekerjaan ini

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 Lagi

£30 GBP dalam sehari
(665 Ulasan)
8.3
(311 Ulasan)
7.0
(155 Ulasan)
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 Lagi

£13 GBP dalam 7 hari
(144 Ulasan)
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 Lagi

£15 GBP dalam sehari
(58 Ulasan)
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 Lagi

£13 GBP dalam 7 hari
(43 Ulasan)
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 Lagi

£10 GBP dalam sehari
(34 Ulasan)
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 Lagi

£13 GBP dalam sehari
(14 Ulasan)
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, Lagi

£13 GBP dalam 7 hari
(29 Ulasan)
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 Lagi

£13 GBP dalam 7 hari
(15 Ulasan)
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 Lagi

£15 GBP dalam sehari
(9 Ulasan)
4.2
(8 Ulasan)
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 Lagi

£13 GBP dalam 7 hari
(7 Ulasan)
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 Lagi

£15 GBP dalam sehari
(2 Ulasan)
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 Lagi

£15 GBP dalam 2 hari
(0 Ulasan)
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 Lagi

£13 GBP dalam sehari
(1 Ulasan)
0.0