don't show empty fields
Author | Posts |
---|---|
December 1, 2013 at 4:56 pm 13097 | |
christophe | hello if i a guest don't fill all the fields how can i do to don't show emty fields, (blank field) in the post ? |
December 3, 2013 at 2:59 pm 13195 | |
christophe | how can i customize with css the Custom Fields not in the form but in the post ? thanks |
December 3, 2013 at 3:39 pm 13197 | |
Tareq Hasan | Please follow the instruction here if you don’t want to show the empty fields. |
December 3, 2013 at 4:29 pm 13205 | |
christophe | thanks but when i do that i have only picture field and post body and line 653 } else { if ( $value ) { $value = get_post_meta( $post->ID, $attr['name'] ); $html .= sprintf( ' |
December 3, 2013 at 4:33 pm 13209 | |
christophe | the custom field are not show with this code only post body and pictures Le 2013-12-03 10:35, weDevs Team a écrit : |
December 3, 2013 at 4:40 pm 13211 | |
Tareq Hasan | Maybe you edited this wrong, here’s how it should be |
December 3, 2013 at 7:36 pm 13217 | |
christophe | hello but when go to the post page now i see all the empty field with label and : |
December 3, 2013 at 8:24 pm 13219 | |
christophe | in fact if user fill 3 fields and leave 5 blank thanks |
December 4, 2013 at 1:54 pm 13269 | |
christophe | could you test for me ? |
December 4, 2013 at 3:32 pm 13282 | |
christophe | This reply has been marked as private. |
December 4, 2013 at 4:06 pm 13285 | |
christophe | This reply has been marked as private. |
December 4, 2013 at 5:42 pm 13289 | |
christophe | This reply has been marked as private. |