| @@ -301,13 +301,17 @@ | ||
| 301 | 301 | 'close' => __( 'Close', 'wpvr' ), |
| 302 | 302 | ], |
| 303 | 303 | ] ); |
| 304 | 304 | |
| 305 | + $inter_font_path = $plugin_path . 'legacy/public/css/inter.css'; | |
| 306 | + $inter_font_ver = file_exists( $inter_font_path ) ? filemtime( $inter_font_path ) : WPVR_VERSION; | |
| 307 | + wp_enqueue_style( 'wpvr-inter-font', $public_base . 'css/inter.css', [], $inter_font_ver, 'all' ); | |
| 308 | + | |
| 305 | 309 | if ( file_exists( $css_file ) ) { |
| 306 | 310 | wp_enqueue_style( |
| 307 | 311 | 'wpvr-tour-editor', |
| 308 | 312 | $plugin_url . 'build/tour-editor/style-index.css', |
| 309 | - [ 'wpvr-pannellum-css' ], | |
| 313 | + [ 'wpvr-pannellum-css', 'wpvr-inter-font' ], | |
| 310 | 314 | $asset['version'] |
| 311 | 315 | ); |
| 312 | 316 | } |
| 313 | 317 | } |