Add image in Advanced Title Field

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Add image in Advanced Title Field

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 5 years, 7 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19138
    parada1280
    parada1280
    Participant

    Hello, im trying to add the logo of my proyects in results.
    I modify the Advanced Title Field, this is the code, the logo (image) is in
    “informacion_del_proyecto_precio” ACF and need to put in URL OF THE LOGO
    But cant get it to work, the acf is returning the URL (the option is checked, but dont work.
    Thnaks in advance.

    
    <div class="logo-proyecto" >
    <img src="URL OF THE LOGO" />
    &lt;/div&gt;
    &lt;div class="conte-pro-grid"&gt;
    {titlefield}
    
    &lt;div class="valor-proyecto"&gt;
    Desde: {informacion_del_proyecto_precio}
    &lt;/div&gt;
    &lt;div class="tipo-proyecto"&gt;
    {informacion_del_proyecto_tipo}
    &lt;/div&gt;
    &lt;div class="ubicacion-proyecto"&gt;
    <strong>Ciudad:</strong> {informacion_del_proyecto_ciudad}
    &lt;/div&gt;
    &lt;div class="area-proyecto"&gt;
    <strong>Área:</strong> desde {informacion_del_proyecto_area_total} hasta {informacion_del_proyecto_areas_area_total}
    &lt;/div&gt;
    
    &lt;/div&gt;
    
    #19140
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I am not sure if the title field is the best option to use here, although I am not sure what exactly is the case.

    You can actually use a custom field as an image source under the image options panel: https://image.ibb.co/ffX2Cz/download.png

    Also, I would rather recommend tryin this one, maybe as the advanced description field:

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.