Wordpress if statement for category (& child categories) to display button (via custom field)
This project was awarded to anjanphukan for $30 USD.Get free quotes for a project like this
Project Budget$30 - $50 USD
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!
If url exists in custom field then display "button A" (links to url)
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.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online