Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: How to display the fields (specially complex fields #8416
    guanyixi
    Participant

    Here is a simple example:

    a field under meta-boxes

    piklist('field', array(
      'type' => 'text'
      ,'field' => 'page_title'
      ,'label' => 'Page Title'
    ));

    Display in front end

    <?php 
        $page_title = get_post_meta( get_the_ID(), 'page_title', true );
        echo $page_title;
    ?>
Viewing 1 post (of 1 total)