Custom Field Template
How to display custom fields? I get Fatal error (2 posts)

  1. miran.lemaic@gmail.com
    Posted 4 years ago #

    first of all Hello there..this is my first post

    I was trying to display custom field values on my post, I was working by this tutorial http://www.youtube.com/watch?v=L3VXnryN9iY and i've put code in functions.php and singleSmjestaj.php which is a copy of template.php just for that single category (this template is pretty weird so everything that should be in single.php is in template.php and stuff like that)

    you can see the code on 2:20 and 3:40 of the tutorial

    I keep getting the error "Fatal error: Call to undefined function getCustomField() in /home/sabmedia/public_html/sabunike/wp-content/themes/easel/singleSmjestaj.php on line 44"

    My theme: Easel

    I'm not even sure if the functions.php is the file where I should put the first part of the code or not

    Please help me I can't figure this out
    P.S. sorry on my bad english


    [ Please do not bump, it's not permitted here. ]

  2. miran.lemaic@gmail.com
    Posted 4 years ago #

    never mind I've found out that you can put [cft format=0] inside the post and you can on admin panel of CFT put what you want to display
    you can close this thread

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Field Template
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic