<?php // Basic 3card subfields
use Carbon_Fields\Container;
use Carbon_Fields\Field;
Container::make( 'post_meta', '<span class="t_mode"><span class="spre">'.__('Tarot','tarokina-free').'</span></span>'. esc_html($tirada) )
    ->where( 'post_term', '=', array(
        'field' => 'id',
        'value' => $deks,
        'taxonomy' => 'tarokkina_free-cat',
    ) )
    ->add_fields(array(
        Field::make( 'html', 'tkna_free_texthtml_0_' )
        ->set_html( '
            <div class="cab_carta">
                <div class="cab_cartaA">  
                    <div class="subT">
                        <img width="50px" src="'.esc_url(plugin_dir_url(dirname( __FILE__ ))).'img/mode_basic.png" alt="mode">
                        <div class="spreadT">'.esc_html($tirada).'</div>
                        <div class="textTopMce">'.sprintf( esc_html__( '%s card design', 'tarokina-free' ), '<span>3</span>' ).'</div>
                    </div>
                    <div class="cab_cartaB">
                        <div>
                        <table>
                            <tr>
                            <td class="td1Box">'.esc_html__( 'Mode', 'tarokina-free' ).':</td> <td class="td2Box mode">'.esc_html($mode_name).'</td>
                            </tr>
                            <tr>
                            <td class="td1Box">'.esc_html__( 'Card', 'tarokina-free' ).':</td> <td class="tdCard">'.esc_html($title).'</td>
                        </tr>
                            <tr>
                            <td class="svgTex td1Box">'.esc_html__( 'Texts', 'tarokina-free' ).':</td> <td class="td2Box">1</td>
                            </tr>
                        </table>
                        </div>
                        <div>
                        <img width="200px" class="spreadImg" src="'.esc_url(plugin_dir_url(dirname( __FILE__ ))).'img/spreads/3cards.svg" alt="spreads">
                        </div>
                    </div>
                </div>
            </div> 
            
      <div class="bloqTableLegend">
          <div class="text1">
            <img width="83px" src="'.esc_url($imgPost) .'">
          </div>
          <div class="table">
            <div class="table-content blo">
            <div class="variosTextos"><span class="dashicons dashicons-lock"></span>&nbsp;'.__('Expert Mode. 1 text per reference.','tarokina-free').'</div>
              <div class="table-row">
                <div class="table-data">
                <span class="numTitle">1</span>
                </div>
              </div>
              <div class="table-row">
                <div class="table-data">
                <span class="numTitle">2</span>
                </div>
              </div>
              <div class="table-row">
                <div class="table-data">
                <span class="numTitle">3</span>
                </div>
              </div>
            </div>
          </div>
        </div>

       ' )->set_classes( 'text_F1' ),
        Field::make( "rich_text", 'tkna_free_text_'.$id_unique.$modes.'0', $title.' - '.$tirada  )
        ->set_classes( 'text_F1' ),
    ) );
    