• Hello,

    I install RC Custom field GUI, and More Fields.
    I install it so I can get additional fields when writing post.

    I want that filled fields what I write/choose would be visible on my website when people are reading my blog.

    BUT… they are not showing on my website.

    ##################
    Maybe to clarify:
    Let say I have field ADDRESS: and I fill it with text “bla bla home address”. I expect that visitors of my blog also see this in that post:
    “ADDRESS: bla bla home address”

    Do I miss something, or those fields are just to be in post when looking over admin/manage/posts?

    I would appreciate for any help.
    Thanks, and sorry for my bad English.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Custom fields are designed as variables that can be plugged into a page template and or theme. To use a custom field you will have to manually add the appropriate code to output a field.

    One simple function is the_meta. You can add that to your single.php (inside the Loop) with just

    <?php the_meta; ?>.

    Here’s an example of more complex code:

    <?php
    if (post_custom('your-custom-field-name')) {
     // if the 'your-custom-field-name' field exists, do this
     echo post_custom('syour-custom-field-name');
     } else {
     // otherwise, do this
     }
    ?>

    You could also take a look at Using Custom Fields in the Codex, but that page seems a bit out of date.

    Thread Starter vean

    (@vean)

    Tnaks scribblerguy,

    I never before used custom field so I was really confused with that.
    Now is working almost great.

    Now just no need to play/find custom fields for images.
    I want to be able to uplod (let say max 4 images) in post which would be shown like gallery.

    If You have any suggestion for some plugin/solution I would be happy to read Your advice.

    Thanks

    Try the nextgen gallery plugin » I think it will do the trick for you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Feild problem’ is closed to new replies.