• Hey ??
    I experience difficulties getting the Custom Fields Plugin by Scott reilly ( https://www.coffee2code.com/archives/2004/06/30/plugin-get-custom/ ) to work.
    I already uploaded the file to the plugins folder and activated it and now I’m stuck as what to do further to display it on the blog.
    What exactly do I have to put inside “the loop” and where can I define my Custom Fields? In the .php file? It would be a great help if somebody could give me a short example how to display the “mood”? Like what comes into the loop, what to change inside the .php file and where to write that mood so that it gets finally displayed on the page?
    I’d be very grateful! Thx in advance ??
    P.S. I did search the forums, and read the tutorials at the Wiki and at coffe2code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Scott explains is as good as I could (see “Tips & Examples”).
    In your place, I’d just add a custom field (“mood”, “reading” … whatever you want) to a test post. The right place is at the bottom of your edit/advanced edit screen, for example field name “mood” value “confused” :).
    Then try using the function the way Scott suggests it, ie put <?php echo c2c_get_custom('mood'); ?> at the end of the div called “storycontent” in your index.php. Then play with the parameters (before/after etc.).

    Thread Starter soph

    (@soph)

    Thank you, Serendipty ?? I had overlooked the Custom Fields screen at the bottom of the Edit page ?? It’s working fine now, I’ll figure the subtleties out myself. Thx again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Fields Plugin Help’ is closed to new replies.