Ir para conteúdo

POWERED BY:

  • ×   Você colou conteúdo com formatação.   Remover formatação

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

  • Conteúdo Similar

    • Por raphaelgs
      Preciso de uma ajuda para fazer três campos Metabox(array) diferente efetuar a soma e no quarto metabox mostre o total dos três campos segue abaixo o código.
      array(
      ‘id’ => ‘renda1’, // Obrigatório
      ‘label’ => __( ‘Renda R$:’, ‘odin’ ), // Obrigatório
      ‘type’ => ‘input’, // Obrigatório
      ‘default’ => ”, // Opcional (deve ser o id de uma imagem em mídias, separe os
      ids com virtula)
      ‘description’ => __( ‘Somente números inteiros’, ‘odin’ ), // Opcional
      ‘attributes’ => array( // Optional (html input elements)
      ‘type’ => ‘number’,
      ‘max’ => 99999,
      ‘min’ => 0
      )
      ),
      array(
      ‘id’ => ‘renda3’, // Obrigatório
      ‘label’ => __( ‘Renda R$:’, ‘odin’ ), // Obrigatório
      ‘type’ => ‘input’, // Obrigatório
      ‘default’ => ”, // Opcional (deve ser o id de uma imagem em mídias, separe os
      ids com virtula)
      ‘description’ => __( ‘Somente números inteiros’, ‘odin’ ), // Opcional
      ‘attributes’ => array( // Optional (html input elements)
      ‘type’ => ‘number’,
      ‘max’ => 99999,
      ‘min’ => 0
      )
      ),
      array(
      ‘id’ => ‘renda3’, // Obrigatório
      ‘label’ => __( ‘Renda R$:’, ‘odin’ ), // Obrigatório
      ‘type’ => ‘input’, // Obrigatório
      ‘default’ => ”, // Opcional (deve ser o id de uma imagem em mídias, separe os
      ids com virtula)
      ‘description’ => __( ‘Somente números inteiros’, ‘odin’ ), // Opcional
      ‘attributes’ => array( // Optional (html input elements)
      ‘type’ => ‘number’,
      ‘max’ => 99999,
      ‘min’ => 0
      )
      ),
      array(
      ‘id’ => ‘total’, // Obrigatório
      ‘label’ => __( ‘Renda R$:’, ‘odin’ ), // Obrigatório
      ‘type’ => ‘input’, // Obrigatório
      ‘default’ => ”, // Opcional (deve ser o id de uma imagem em mídias, separe os
      ids com virtula)
      ‘description’ => __( ‘Somente números inteiros’, ‘odin’ ), // Opcional
      ‘attributes’ => array( // Optional (html input elements)
      ‘type’ => ‘number’,
      ‘max’ => 99999,
      ‘min’ => 0
      )
      ),
×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.