Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter mistercomparador

    (@mistercomparador)

    Already OK,
    In search.php, I put:

    <?php global $post; $post_featured_image = wp_get_attachment_url(get_post_thumbnail_id($post->ID)); ?>

    after of:

    <?php if(have_posts()) { while ( have_posts() ) : the_post() ?>

    I hope this can help another users!

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 1 replies (of 1 total)