2011-03-16, 19:34:56
linden Wrote:Hey mvlcek.
I have been trying to get the i18n plugin and the i18customfields plugin to work for a while now. But i am still having problems. Really a noob here on the php end, so hard to debug not knowing what to look for. Anyway I am basing my testsite on GS 2.03.1, and using the latest i18n plugins. and i can create the customfields with no problem and also see that it is being save on the page. but nothing comes out on the site. i just empty. Using for example this line in my templates <?php get_custom_field($mainHeadline); ?> . Any idea what i could be doing wrong or what i could check somehow?
If the name of the custom field is "mainHeadline" (without the quotes), you should use
Code:
<?php get_custom_field("mainHeadline"); ?>