Respostas no Fórum

Visualizando 1 resposta (de um total de 1)
  • Criador do tópico raphaelti

    (@raphaelti)

    Galera achei a solução. Obrigado.
    Fiz isto:
    Alterei este código:

    if(has_post_thumbnail()){
    the_post_thumbnail();
    }else{
    echo'<img src=”‘.get_first_image().'” alt=”” title=”” width=”70″ height=”70″/>’;
    }

    Para este:

    if(has_post_thumbnail()){
    the_post_thumbnail( array(150, 150) );
    }else{
    echo'<img src=”‘.get_first_image().'” alt=”” title=”” width=”70″ height=”70″/>’;
    }

    E funcionou normalmente.

Visualizando 1 resposta (de um total de 1)