2013-04-30, 02:17:11
(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
In the WYSIWYG editor I enter this:
{% test %}
I just saw that you totally misunderstand the plugin - which I overlooked in my first reply: label is the label of the field, not the content. If you define a custom field, each of your pages will have an additional entry field (labeled with the label) in the Page options. There you can enter the content of the field for this page. If you don't enter a content, the field is of course empty.