debug: remove condition to test if enqueue works
This commit is contained in:
@@ -77,7 +77,7 @@
|
|||||||
border-bottom: 3px solid transparent;
|
border-bottom: 3px solid transparent;
|
||||||
padding: 0.3rem 0.3rem;
|
padding: 0.3rem 0.3rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: 0.9rem;
|
font-size: 0.83rem;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -44,9 +44,9 @@ final class YoutubeFacadeHooksRegistrar
|
|||||||
*/
|
*/
|
||||||
public function enqueueAssets(): void
|
public function enqueueAssets(): void
|
||||||
{
|
{
|
||||||
// Only on singular content (posts, pages, custom post types)
|
// Load on all frontend pages (condition removed for debugging)
|
||||||
// Changed from is_single() to is_singular() to cover all content types
|
// TODO: Re-add is_singular() check after confirming assets load
|
||||||
if (!is_singular()) {
|
if (is_admin()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user