• 20-03-2013, 12:14:55
    #1
    Temamda functions.php'de

    $meta_boxes = array( 
            "resim" => array( 
                "name" => "resim", 
                "title" => __("Resim Adresi:"), 
                "type" => "text", 
                "desc" => "" 
            ) 
        );
    kodu var.Hazırldaığım botta

    add_post_meta($post_id, 'resim', $resimlinki);
    fonksiyonu ile içeriğine istediğim veriyi girebiliyorum...

    Yine aynı temamda

     $prefix = 'custom_meta_';
        $meta_box = array(
        'fields' => array(
       array(
        'name'    => 'Upload your swf game file:',
        'desc'    => 'Upload your swf game file using upload/insert media button, or paste your embed code. <br />*<small>Note that if you are using embed code, you should use the HTML tab instead of Visual. Anyway, sometimes you must play around with the dimension of the game, to display the proportional width and heigh.</small>',
        'id'      => $prefix . 'gamefile',
        'type'    => 'wysiwyg',
        'std' => '',
        'options' => array(
        'textarea_rows' => 15,
    ),
    ),
     
    )
    );
    fonksiyonu var. Buna bir türlü veri girişini yapamadım...

    add_post_meta($post_id, 'BURAYA NE YAZACAĞIMI BİR TÜRLÜ BULAMADIM', $abc);
    Yardımcı olursanız memnun olurum...
  • 24-03-2013, 11:02:54
    #2
    Konuyla ilgili bilgisi olan var mı arkadaşlar ?
  • 24-03-2013, 11:42:55
    #3
    fields yazmanız gerekiyor