• Resolved riddlemen

    (@riddlemen)


    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

    https://wordpress.org/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    can I know if it still showing or it was remove successfully but still required during bookings?

    Thread Starter riddlemen

    (@riddlemen)

    its still showing on all events als also with not the category bootcamp

    and i want that is only showed on catergory Bootcamp

    Plugin Support angelo_nwl

    (@angelo_nwl)

    I see now however by default this is not available and requires additional coding to make this work and we are quite limited to custom coding as per the support policy – http://eventsmanagerpro.com/support-policy/

    however maybe you can try to echo the current category and if this line get’s satisfied in_category('Bootcamp')

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘category not working’ is closed to new replies.