PluginProbe
Post Grid / trunk
Post Grid vtrunk
2.3.23 2.2.57 2.2.58 2.2.59 2.2.6 2.2.60 2.2.61 2.2.62 2.2.63 2.2.63a 2.2.64 2.2.65 2.2.66 2.2.67 2.2.67-a 2.2.68 2.2.69 2.2.7 2.2.70 2.2.71 2.2.72 2.2.73 2.2.74 2.2.75 2.2.75a All 208 releases
post-grid / includes / menu / builder.php

builder.php in Post Grid trunk, at includes/menu/builder.php

56 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) exit; // if direct access
3
4 wp_enqueue_style('builder-output', post_grid_plugin_url . '/dist/output.css', [], time(), 'all');
5
6
7 wp_enqueue_style('wp-components');
8 wp_enqueue_style('animate');
9
10 wp_enqueue_script('pgpostgrid_builder-js');
11
12 wp_register_style('icofont-icons', post_grid_plugin_url . 'assets/css/icofont/icofont.min.css');
13 wp_enqueue_style('icofont-icons');
14
15 wp_register_style('bootstrap-icons', post_grid_plugin_url . 'assets/css/bootstrap-icons/bootstrap-icons.css');
16
17 wp_enqueue_style('bootstrap-icons');
18 wp_register_style('fontawesome-icons', post_grid_plugin_url . 'assets/css/fontawesome/css/all.min.css');
19 wp_enqueue_style('fontawesome-icons');
20
21
22 wp_register_style('pgcontent_slider_splide_core', post_grid_plugin_url . 'assets/css/splide-core.min.css');
23
24 wp_enqueue_style('pgcontent_slider_splide_core');
25 wp_enqueue_editor();
26
27
28
29 wp_enqueue_script(
30 'post_grid_builder_js',
31 post_grid_plugin_url . 'build/index.js',
32 [
33 'wp-blocks',
34 'wp-editor',
35 'wp-i18n',
36 'wp-element',
37 'wp-components',
38 'wp-data',
39 'wp-plugins',
40 'wp-edit-post',
41 ],
42 time()
43
44 );
45
46 wp_localize_script('post_grid_builder_js', 'post_grid_builder_js', array('post_grid_ajaxurl' => admin_url('admin-ajax.php'), '_wpnonce' => wp_create_nonce('wp_rest')));
47
48
49
50
51
52
53 ?>
54 <div class="wrap">
55 <div id="builder" class=""></div>
56 </div>