• Resolved gallenib

    (@gallenib)


    I’m using this shortcode and I have a huge problem because the pictures only show when the page is not published. When published, the pictures disappear (but not the expanded content).

    [expand title=” tag=”div”]Target Content[/expand]

    It is supposed to appear after the word “PROGRAMA” in the following website: https://foroecd.es/

    It doesn’t matter if I used a picture from my website or from an external site. It doesn’t work. Any idea of what can I do? ??

    Thanks in advance!!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author twinpictures

    (@twinpictures)

    when you post code here in the forums, please wrap it in the code tag so we can actually see the code.

    there is a good chance this is happening because you are using double quotes for both the title attribute AND the url for the image:
    [expand title"<img src="this-is-bad">"]
    best to check that you are using double quotes for the shortcode attributes and single quotes for any html used inside the attribute value:
    [expand title"<img src='this-is-better'>"]

    Thread Starter gallenib

    (@gallenib)

    Finally solved!! I used this code:

    [expand title="<img src='https://foroecd.es/wp-content/uploads/2019/10/13-nov.png'>" trigclass="noarrow"]Hidden Target Content[/expand]

    I copied from your blog. It was very well explained.
    Thanks!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘IMAGE DOESN’T SHOW!’ is closed to new replies.