This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Add image in Advanced Title Field

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

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19138
    parada1280parada1280
    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.

    [code]
    <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;
    [/code]

    #19140
    Ernest MarcinkoErnest 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:

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