Title: Get Custom Field Values plugin conditional statement
Last modified: August 18, 2016

---

# Get Custom Field Values plugin conditional statement

 *  [kri](https://wordpress.org/support/users/kri/)
 * (@kri)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/get-custom-field-values-plugin-conditional-statement/)
 * Unfortunately my PHP knowledge is not strong enough for me to figure this out,
   or to even know if this is possible. I’m using the Get Custom Field Values plugin
   from coffee2code. I’ve managed to get it to work perfectly, but there is something
   a little different that I want to do with it.
 * I have two fields, book_url, and book_title. I want both custom fields to show,
   only if the field book_url exists in a certain post. For example, let’s say one
   post has the book_url field filled out. This means that book_url and book_title
   will show based upon the parameters that I’ve set with the c2c_get_custom code.
   There’s another post that doesn’t have the book_url title filled out, so neither
   book_url or book_title will display. Does this make sense?
 * I’ve tried using my rudimentary knowledge creating a conditional statement, but
   there is apparently something I’m missing. Is this possible?

The topic ‘Get Custom Field Values plugin conditional statement’ is closed to new
replies.

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 0 replies
 * 1 participant
 * Last reply from: [kri](https://wordpress.org/support/users/kri/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/get-custom-field-values-plugin-conditional-statement/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
