How do I display Custom Fields in a post?

  • (3 posts from 2 members)
  • Started 4 months ago by gus
  • Latest reply from gus
  • This topic is closed
  • This topic is resolved
  1. gus

    BNC Member (2 posts)
    4 months ago #

    My WP blog has custom fields -- e.g. Chinese name of title, Contact person, Telephone number. I would like to display these right above the Tags and Categories in my WPTouch code.

    What plugin files should I edit to add the Custom Field code (get_post_meta)?
    Is there a different way to call my post meta information?

    I looked in Plugins/Editor but I did not find the file which shows each post - I looked at wptouch/html/page-area.php and wptouch/wptouch.php -- should I look there again?

  2. Dale Mugford

    BNC Design Guru (690 posts)
    4 months ago #

    The files you'd want to edit are in wptouch/themes/default/. Keep in mind that your changes will not survive plugin updates, and will need to be re-added if we uprev WPtouch.

    That said, wIth WPtouch 2.0 we're adding support for custom themes, and it'll be a lot easier to do these kinds of changes, and they will survive upgrades unharmed : )

  3. gus

    BNC Member (2 posts)
    4 months ago #

    Thank you, Dale

    I found them. I had to edit the files directly, and not via a Wordpress editor


Topic Closed