• Resolved chavamx1

    (@chavamx1)


    Maybe I’m not doing a good loop but it does get text but not the image after update, this is the shortcode im using, any hint? ??

    [raw][loop type=post category=el-pulso-del-poder count=1]
    <div id="bloquepulso">
    <div class="img-up"><img src="[field image='imagen_up' return='url']" alt="" /></div>
    <div class="txt-up">
    <h1>[field titulo_up]</h1>
    [field parrafo_up]
    
    </div>
    <div class="txt-down">
    <h1>[field titulo_down]</h1>
    [field parrafo_down]
    
    </div>
    <div class="img-down"><img src="[field image='imagen_down' return='url']" alt="[field titulo_down]" /></div>
    </div>
    [/loop]
    
    [/raw]

    https://www.ads-software.com/plugins/custom-content-shortcode/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    I think I’ve found the cause of the issue – please try the newest plugin version and let me know if that solved it.

    Thread Starter chavamx1

    (@chavamx1)

    Hi thanks for your quick response ?? it’s an awesome plugin but i updated again and still no luck ??

    Plugin Author Eliot Akira

    (@miyarakira)

    Could you tell me what is the current result? Is it displaying a broken image, with wrong URL?

    Thread Starter chavamx1

    (@chavamx1)

    Of course: <img src=”” alt=”En la mira”> It does not display content inside de source… it does get the text but no image… is it correctly applied the shortcode i pasted?

    Thanks for your quick response!

    Plugin Author Eliot Akira

    (@miyarakira)

    Could you try the following outside <img> and see if it’s displaying a URL?

    [field image='imagen_down' return='url']
    Thread Starter chavamx1

    (@chavamx1)

    Yes! it displays the URL, but inside the img src it does not return the image :S

    Plugin Author Eliot Akira

    (@miyarakira)

    I see, so it does display the right URL.. Hmm, I feel we’re getting closer but I’m still not able to reproduce the issue on my end, and it’s hard to know how I can solve it. It seems to be related to the changes in the new Shortcode API in WP 4.2.3, that the HTML attribute is getting removed. I’ve been making a number of plugin updates to address this issue, but I see it’s not perfect yet.

    A couple more ideas: can you see if removing [raw]..[/raw] makes a difference? Also, could you try it without quotes?

    <img src="[field image=imagen_down return=url]">

    Are you doing anything unusual to display this post, for example, from PHP?

    Thread Starter chavamx1

    (@chavamx1)

    Hey, sorry for the late response, i updated again your plugin and not it’s working! Awesome Job, I will contact you via email for something else.

    Thanks!

    Thread Starter chavamx1

    (@chavamx1)

    Hi, it stopped working again with one more update i did today ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Images not loading after update’ is closed to new replies.