• Resolved halu

    (@marujethro)


    こんにちは。

    wordpressを5.8にバージョンアップしました。
    そして記事に追記をしました。
    それから長くなった分広告を増やそうとショートコードを挿入した所、最初のコードと最後に挿入したコードの間が表示されなくなりました。
    最後に挿入したコードを削除したら直りました。

    これは何の問題でしょうか。

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter halu

    (@marujethro)

    追記です。

    他の記事でも試してみましたが、やはり最初のショートコードと追加したショートコードの間が表示されなくなります。
    ショートコードを使わないで広告を入れれば問題なく表示されました。

    ご確認お願いいたします。

    Plugin Author vaakash

    (@vaakash)

    Hi @marujethro,

    Thanks for using Shortcoder.

    Sorry for the inconvienence. This is not an bug.

    Starting shortcoder 5.5, shortcodes are inserted with closing tags.
    So if you have a shortcode at top which is not closed and another at the bottom which is closed then the content inbetween is taken by the top shortcode.

    This is explained here – https://www.aakashweb.com/forum/topic/content-vanishing-when-new-shortcode-added-in-2/#post-9707

    The solution – Please edit existing shortcodes by closing them i.e adding [/sc] or leave it open i.e [sc name="hello"]

    Thanks.
    Aakash

    Thread Starter halu

    (@marujethro)

    理解しました。

    古い記事に追記した為、[/sc]が入っていませんでした。
    ありがとうございました。

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wordpressを5.8にしたら’ is closed to new replies.