Rescriu exemplul anterior pentru a nu exista confuzii:

Cod PHP:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>    
                    <div class="postItem">
                        
                        <div class="categs"><?php the_category(', '?></div>
                        <div class="meta">
                            <div><?php the_time('M j, Y'?></div>
                            <div class="icoAuthor"><?php the_author_link(); ?></div>
                            <div class="icoComments"><?php comments_popup_link('No Comments''1 Comment ''% Comments'); ?></div>
                        </div>
                        <h1><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h1>
                        
                        <?php the_post_thumbnail('large'); ?> 

                        <p>Pret: <?php tp_the_product_field'price' ); ?></p>
                        <p>Brand: <?php tp_the_product_field'brand' ); ?></p>
                        <p>Descriere: <?php tp_the_product_field'description' ); ?></p>
                    </div>
                    
<?php endwhile; ?>

Daca functia <?php the_post_thumbnail('large'); ?> nu afiseaza poza, poti testa si cu:
Cod PHP:
<?php
$image 
wp_get_attachment_image_srcget_post_thumbnail_id$post->ID ), 'large' );
echo 
'<img src="' $image[0] . '" alt="" />'
?>