Hello Everyone, I was working on my wordpress site trying to get it compatible on firefox (Still a working progress, but works on chrome). and suddenly my site sidebar are no longer recognized by .php coding. Does anyone have ideas to why this is happening. It worked before.
🙁 So much for easy fixes. You may need to resort to some basic debugging to identify exactly where things go wrong. Start by placing some HTML content above the call to dynamic_sidebar() to check if it is even being called. If that checks out, temporarily insert a var_dump() line here and there in the dynamic_sidebar() source code to test various variables contain the expected values and that code is executing up to that point. The source code is in wp-includes/widgets.php around line 840. Be sure to keep a clean original copy of the file so it’s easily restored when you’re done testing.