Wordpress if statement for category (& child categories) to display button (via custom field)

IN PROGRESS
Bids
22
Avg Bid (USD)
$41
Project Budget (USD)
$30 - $50

Project Description:
Hello,

I need an if statement to display a different button based on category & custom field. I'm not a developer but have tried to write description in if/elif/else format...so please ask any questions if my description is unclear!

Thanks
Carley

CURRENT SITUATION:
If url exists in custom field then display "button A" (links to url)

TASK:
Create an if statement so that; IF url in custom field exists AND IF post is in category X (or child of category X)" then display "button B" (links to url) & small line of text below button….ELSEIF url in custom field exists display "button A" (links to url)…ELSE display nothing!

- The contractor will have access to a staging area to test their code.
- No changes to core wordpress files permitted.
- No changes to core plugin files.
= Simple instructions must be provided for me to implement changes on live site.

Skills required:
CSS, PHP, Wordpress
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 45
in 1 days
$ 30
in 1 days
Hire DrTech76
$ 30
in 0 days
$ 40
in 1 days
$ 50
in 2 days
$ 50
in 10 days
$ 50
in 1 days
$ 34
in 0 days
$ 40
in 1 days
$ 30
in 1 days