debug: remove condition to test if enqueue works
This commit is contained in:
@@ -44,9 +44,9 @@ final class YoutubeFacadeHooksRegistrar
|
||||
*/
|
||||
public function enqueueAssets(): void
|
||||
{
|
||||
// Only on singular content (posts, pages, custom post types)
|
||||
// Changed from is_single() to is_singular() to cover all content types
|
||||
if (!is_singular()) {
|
||||
// Load on all frontend pages (condition removed for debugging)
|
||||
// TODO: Re-add is_singular() check after confirming assets load
|
||||
if (is_admin()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user