[resolved] Display Image (4 posts)

  1. Amit Kvint
    Posted 2 years ago #

    Hi there,

    Have just installed Types so am very green...

    So I have created a customs post type called speakers on my admin with custom fields, one of them being an image called speaker-img, on the dashboard all appears to work perfectly, than trying to show that image on my page (a template page called 'homepage') nothing is being showed what am I missing ? here is the code I have put -
    test<?php echo(types_render_field("speaker-img")); ?>('test' does appear btw).



  2. Srdjan
    Plugin Author

    Posted 2 years ago #

    Please check our documentation at wp-types com.

  3. Taylor
    Posted 1 year ago #

    You documentation lacks to say the least for non-savvy coders. I've been looking for this answer for an hour and still can't figure out.

  4. Srdjan
    Plugin Author

    Posted 1 year ago #

    Hi, sorry about that - we're working on documentation to improve it.

    You can use this call to render field on frontend:
    echo types_render_field("custom-field-slug-name");
    Specify field name without 'wpcf-' prefix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic