I am having 3 custom contents on my front page. Each of them must have an image. However, I want some of them not to have the image, I want to have that field optional.
Any idea where may I change it? I couldn't find any plug in related to that. Only in theme theme folder there is plug in:
advanced-custom-fields but I can't find it through wordpress.
The theme is custom, made by another guy so I am not really familiar with that.
I have found this in acf-flexible-content/view directory:
<tr class="required"> <td class="label"><label><?php _e("Required?",'acf'); ?></label></td> <td> <?php do_action('acf/create_field', array( 'type' => 'radio', 'name' => 'fields[' .$fake_name . '][required]', 'value' => $sub_field['required'], 'choices' => array( 1 => __("Yes",'acf'), 0 => __("No",'acf'), ), 'layout' => 'horizontal', )); ?> </td> </tr>
But I guess this is html which is shown upon creation of a field for custom content.