Support » Themes and Templates » Include Code If Certain Class is Displayed

  • I am making a theme and I want to display javascript only if a certain class is showing on the page. That way it doesn’t load every time. How can I do this? I am not very good with PHP so if you could spell it out, that would be great!! 😀

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Include Code If Certain Class is Displayed’ is closed to new replies.