Skip Navigation

[Closed] Print the meta on template

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 11 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by Lincoln 11 years, 6 months ago.

Assisted by: Caridad.

Author
Posts
#19537

How can i print the meta?
I really dont understand :S

#19539

Dear Lincoln,

Im sorry i dont understand, can you elaborate a bit more?

Regards,
Caridad

#19544

I creathe one metafield wysiwyg on my template page.
The slug is wpcf-meio-ambiente

Now i want print this field on my theme. (one-collum-page.php)

#19568

Dear Lincoln,

Take a look at types_render_field(), its described here:
https://toolset.com/documentation/functions/

Please let me know if there is anything else that I can assist you with.

Regards,
Caridad

#19698

Hmm.. Nice!
Now i understand :D!

Now i have a field with repeatable images...
How can i create a while loop of this field?

Whem i use this code above, i get the urls. How can i create my own html code?
<?php echo(types_render_field("slug-of-my-group", array( "raw"=>"true"))); ?>

Ps: It's possible print the url written in image editor?

#19940

Dear Lincoln,

Try with something like this:

<ul>
<li><?php echo types_render_field('images-field', array('separator'=>'</li><li>')); ?></li>
</ul>

Please let me know if there is anything else that I can assist you with.

Regards,
Caridad

#20229

Thx

The topic ‘[Closed] Print the meta on template’ is closed to new replies.