Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you using shortcodes with spaces? Since WordPress 4.4 spaces in shortcodes are no longer working/are allowed.
    If that is your case, see the last two posts here for some tips of how to update all posts quickly, after renaming the shortcodes to not contain spaces.

    https://ww.wp.xz.cn/support/topic/upgrading-to-wordpress-44-breaks-post-snippets?replies=7

    Cheers,
    Johan

    Thread Starter marcelomilici

    (@marcelomilici)

    Thanks for the answer.

    My code is:

    <div id=”ficha”>
    <div class=”poster”><img src=”{poster}”/></div>
    <div class=”titulonacional”>{nacional}</div>
    <div class=”outrasinfos”>Original:{original}
    Ano:{ano}•País:<span class=”pais”>{pais}</span>
    Direção:{diretor}
    Roteiro:{roteiro}
    Produção:{produtora}
    Elenco:{elenco}</div>
    </div>

    How can I change this to work?

    Thanks!

    Hi marcelomilici,

    See my reply above. You are using spaces in your shortcode, that WordPress does not longer allow since WordPress 4.4. Your shortcode Ficha de Filme is incorrectly named, you need to rename it to something like Ficha_de_Filme or similar. Ie, no spaces allowed. See the link in my reply above for how to update all existing posts in one go when you rename the shortcode, so you don’t have do to it one by one.

    Cheers,
    Johan

    Thread Starter marcelomilici

    (@marcelomilici)

    Perfect, Johan!

    I did what you suggested! It works!!

    Thanks a lot, friend!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Problem with images in post’ is closed to new replies.