debug: remove condition to test if enqueue works
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
border-bottom: 3px solid transparent;
|
||||
padding: 0.3rem 0.3rem;
|
||||
font-weight: 600;
|
||||
font-size: 0.9rem;
|
||||
font-size: 0.83rem;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
|
||||
@@ -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