Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #349376

    Each post has a custom field that contains the path to a logo, that logo will want to see where the image appears prominently in the categories

    #349724

    Hi Luis!

    Try adding this on line 38 in /enfold/includes/loop-index.php.

    if ( get_post_meta( $current_post['the_id'], 'post_image', true ) ) { $current_post['slider'] = '<img src = "'.get_post_meta( $current_post['the_id'], 'post_image', true ).'" />'; }
    

    So it displays right below this line.

    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    

    And then change “post_image” in both places to whatever the key is of your custom field.

    Cheers!
    Elliott

    #351248

    thanks for the answer but could be a little more esesifico because Traduci content and I can not understand in Spanish.

    #351527

    Hi!

    I’m not sure I understand. Josue, one of our team members, speaks Spanish so I’ll flag this for him.

    Best regards,
    Elliott

    • This reply was modified 10 years ago by Elliott.
    #358157

    hola, alguna solución?

    #358168

    listo, solucionado, gracias

    #358311

    Hi!

    I asked @josue to look into the topic. Please kindly wait to hear from him

    Regards,
    Yigit

    #358617

    Hola,

    ¿Pudiste solucionar tu problema o aun necesitas asistencia?

    Saludos,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.