• Hey all,

    i am using in my entries some custom fields and i have several questions.

    (1) Is it possible to delete oder edit existing custom fields (key)?

    (2) Because i am using everytime the same custom fields: Would it be possible that all costum fields occur directly to me when i want to write a new entry?

    (3) How is it possible to show one special value of a key?

    I have tried
    <?php get_post_custom_values($Architect); ?>
    and
    <?php get_post_meta(10, Architect, 0); ?>

    Both are not working although they were mentioned here: https://codex.www.ads-software.com/Using_Custom_Fields

    Maybe you can help me…
    THANKS!!!
    Karin

Viewing 4 replies - 1 through 4 (of 4 total)
  • (3) <?php get_post_meta(10,'Architect',true); ?>

    Thread Starter karin24

    (@karin24)

    Unfortunately this does not work. Any other suggestions?

    Thread Starter karin24

    (@karin24)

    If I use

    <?php the_meta(); ?>

    it works, but then all keys/custom fields are shown an this is not so good.

    So I want to show just the key architect, but if I use on of the following codes it does not work:

    <?php get_post_meta(10,'Architect',true); ?> 
    
    <?php get_post_meta(10,'architect',true); ?> 
    
    <?php get_post_meta(10,architect,true); ?> 
    
    <?php get_post_meta(10,'Architect',true); ?>

    Guys, please help me!!!

    oo, sorry..
    it must be <?php echo get_post_meta(10,’Architect’,true) ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom fields in blog entries’ is closed to new replies.