WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Noscript on posts with JavaScript (2 posts)

  1. joshrodgers
    Member
    Posted 1 year ago #

    Hello,

    I would like to use noscript tags when posts have JavaScript code (so users know why the site looks a little funky). I added a noscript tag in my loop, but when JavaScript is disabled it displays on every single post, is there a condition or something that I can add so that it only displays on posts that have JavaScript code?

    Thanks,
    Josh

  2. joshrodgers
    Member
    Posted 1 year ago #

    I just decided to leave it off, most people have javascript enabled anyway...and those that don't see problems on all pages all over the place!

    Thanks,
    Josh

Topic Closed

This topic has been closed to new replies.

About this Topic