I'm using the advanced custom field plugin for wordpress and wondering if I'm able to do the following:
If checkbox ticked = web and it equals the page title echo this.
Does anyone know what code to use for this?
UPDATE: The closest I've got is this:
<?php $fields = get_acf(); print_r ($fields->categories); ?>
But that is printing out this:
Array (  => option_1  => option_2  => option_9 )
1. How can I print out the real names (without it saying array)?
2 Also say if it = web and matches the page title then echo something?