• Hi

    My theme has conflict with some java scripts which I don’t know how to find and debug them.
    The problem is that when I load a page which need to verify use access permission to show div body, it shows website home page in that div.

    for example, using administrator can see a page like this :
    https://screencast.com/t/g0BLU65oZa

    However, regular users see this page for 1-2 second and then suddenly the page content change to this:
    https://screencast.com/t/VFl5jvgYnPS9

    I think there is nasty javascript somewhere in my theme which replace the page content which wired content from home-page.

    This issue happens in other section of my site which perform user access check to show content.

    I might be wrong about javascript and it might be some thing else. However, the list of javascripts that I has been en-queued in wp-scripts for this specific page is this:

    https://pastebin.com/04SE3kpV

    Do you know why I am seeing this wired behavior ?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme Conflict with Java Scripts’ is closed to new replies.