category not working
-
i don’t want in all the events people add there phonenumber
so i create this in booking-fields.php and create category Bootcamp<?php if(in_category(‘Bootcamp’)){ ?>
<p>
<label for=’dbem_phone’><?php _e(‘Phone’,’dbem’) ?></label>
<input type=”text” name=”dbem_phone” id=”dbem_phone” class=”input” value=”<?php if(!empty($_REQUEST[‘dbem_phone’])) echo esc_attr($_REQUEST[‘dbem_phone’]); ?>” />
</p>
<?php }?>but this is not working 🙁
how can i fix this
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘category not working’ is closed to new replies.