| @@ -235,9 +235,9 @@ | ||
| 235 | 235 | |
| 236 | 236 | wp_enqueue_media(); |
| 237 | 237 | templately()->assets->enqueue( 'templately', 'js/templately.js', $script_dependencies, true ); |
| 238 | 238 | templately()->assets->enqueue( 'templately', 'css/templately.css', ['templately-dmsans', 'templately-inter'] ); |
| 239 | - $tailwind_hooks = apply_filters( 'templately_tailwind_hooks', [ 'toplevel_page_templately', 'elementor', 'gutenberg', 'templately_page_templately_settings' ] ); | |
| 239 | + $tailwind_hooks = apply_filters( 'templately_tailwind_hooks', [ 'toplevel_page_templately', 'elementor', 'gutenberg', 'templately_page_templately_settings', 'edit.php' ] ); | |
| 240 | 240 | if ( in_array( $hook, $tailwind_hooks, true ) ) { |
| 241 | 241 | templately()->assets->enqueue( 'templately-tailwind', 'css/tailwind.css', ['templately', 'templately-inter'] ); |
| 242 | 242 | } |
| 243 | 243 | |
| @@ -271,8 +271,9 @@ | ||
| 271 | 271 | 'no_items' => templately()->assets->icon( 'no-items.png' ), |
| 272 | 272 | 'loadingImage' => templately()->assets->icon( 'logos/loading-logo.gif' ), |
| 273 | 273 | 'current_url' => admin_url( 'admin.php?page=templately' ), |
| 274 | 274 | 'wp_dashboard_url' => admin_url( 'index.php' ), |
| 275 | + 'templately_library_url' => admin_url( 'edit.php?post_type=templately_library' ), | |
| 275 | 276 | 'is_signed' => Login::is_signed(), |
| 276 | 277 | 'is_globally_signed' => Login::is_globally_signed(), |
| 277 | 278 | 'signed_as_global' => Login::signed_as_global(), |
| 278 | 279 | 'current_screen' => $_current_screen, |