2013-04-29, 19:57:25
(2013-04-29, 18:43:38)zintonio Wrote: ...
I create a component theme called "test" as follow:
<label for="name" label="" style=<?php get_custom_field('mylabel'); ?>>Name</label>
And I create a custom field like this:
Name: mylabel
Label: clear: left;float: left;padding:3px 10px 2px;text-align: right;width: 180px
Type: Long text field
...
You are missing the quotes around the style attribute:
Code:
<label for="name" label="" style="<?php get_custom_field('mylabel'); ?>">Name</label>