Support Forum » User Profile

Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • in reply to: Error taxonomy frontend after update #7137
    MikelMikel
    Participant

    The solution

    $terms=get_the_terms( $post->ID , 'tipo' );;
    if ($terms) {
    foreach ($terms as $term ) {
    $tipoCavidad=$term->name;
    }
    }
    Thanks

    in reply to: Error taxonomy frontend after update #7131
    MikelMikel
    Participant

    $terms = get_terms( 'informe_tipo_cavidad');
    if ( !empty( $terms ) ) {
    foreach ( $terms as $term ){
    $tipoCavidad=$term->name;

    }
    }

    in reply to: Error taxonomy frontend after update #7130
    MikelMikel
    Participant

    Any idea? two day to resolve this problem

    $terms = rwmb_meta( 'informe_tipo_cavidad', array('type'=>'taxonomy', 'taxonomy'=>'tipo'));
    if ( !empty( $terms ) ) {
    foreach ( $terms as $term ){
    $tipoCavidad=$term->name;

    }
    }

    in reply to: Error taxonomy frontend after update #7121
    MikelMikel
    Participant

    advance taxonomy

    // TAXONOMY
    array(
    'name' => 'Territorio Histórico',
    'id' => "informe_territorio",
    'type' => 'taxonomy',
    'tooltip' => array(
    'icon' => 'help',
    'content' => __( 'Lo más importante es seleccionar lo primero el territorio historico de la cavidad, para que se genere la sigla interna correctamente', 'meta-box' ),
    'position' => 'right',
    ),
    'required' => true,
    'options' => array(
    // Taxonomy name
    'taxonomy' => 'territorio',
    // How to show taxonomy: 'checkbox_list' (default) or 'checkbox_tree', 'select_tree' or 'select'. Optional
    'type' => 'select_advanced',
    // Additional arguments for get_terms() function. Optional
    'args' => array('taxonomy' => 'territorio')
    ),

    ),

    in reply to: Display taxonomy or User meta #2262
    MikelMikel
    Participant

    Thank You Anh

    in reply to: Display taxonomy or User meta #2257
    MikelMikel
    Participant

    Sorry, I have add de User meta box in meta group, but when I want to display de user name, only only appear the users ID

    $group_value = rwmb_meta( 'histor' );
    foreach( $group_value as &$v){
       echo "{$v['date']} {$v['user']}";
    }

    And is possible display user e-mail??

    Thank you very much

Viewing 6 posts - 1 through 6 (of 6 total)