• Hi. I have many similarity js code in my theme. But I want to prevent load theme without remove theme. Is there any way for me (by functions code or another)?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi poyagh,
    Please can you be more descriptive in what you are trying to achieve.
    What exactly do you mean by “prevent load theme without remove theme”

    Thread Starter poyagh

    (@poyagh)

    For example I have this JS code in insex, seingle, footer and sidebar:
    <script type="text/javascript">test</script>
    I want prevent load theme in anywhere without remove these codes.
    Is there any filter (functions codes) for prevent load a code in anywhere?
    If no, is there anyway?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to prevent to load a code?’ is closed to new replies.