Skip to main content
Updated solution
Source Link

So...uh...I have no idea why, butUPDATE: It looks like it started workinghas something to do with the URL. For some reason I changedcan view the page from private published to publishedat /who-we-are-2 and it didn't worklooks normal, minus the scripts/styles I am trying to enqueue. Changed it backBut the page should really be at /about/who-we-are-2 as About is the parent page. If I go to private,/about/who-we-are-2 it works perfectly. Changed again to published, works/about/who-we-are-2 is what is in the nav and the URL that users will see so we're all good. Back to private, worksAnd obviously my enqueue wouldn't work on /who-we-are-2 since my if statement didn't call for that page. So unfortunately I really don'tultimately, problem solved. But I'd love to know why I can view the page at /who-we-are-2 if that's what did it but it is working now.anyone knows!

So...uh...I have no idea why, but it started working. I changed the page from private published to published and it didn't work. Changed it back to private, it works. Changed again to published, works. Back to private, works. So unfortunately I really don't know if that's what did it but it is working now.

UPDATE: It looks like it has something to do with the URL. For some reason I can view the page at /who-we-are-2 and it looks normal, minus the scripts/styles I am trying to enqueue. But the page should really be at /about/who-we-are-2 as About is the parent page. If I go to /about/who-we-are-2 it works perfectly. /about/who-we-are-2 is what is in the nav and the URL that users will see so we're all good. And obviously my enqueue wouldn't work on /who-we-are-2 since my if statement didn't call for that page. So ultimately, problem solved. But I'd love to know why I can view the page at /who-we-are-2 if anyone knows!

Source Link

So...uh...I have no idea why, but it started working. I changed the page from private published to published and it didn't work. Changed it back to private, it works. Changed again to published, works. Back to private, works. So unfortunately I really don't know if that's what did it but it is working now.