PluginProbe
Post Blocks & Tools / 1.2.2
Post Blocks & Tools v1.2.2
1.2.5 1.3.0 1.3.1 1.3.2 trunk 1.0.2 1.0.3 1.1.0 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4
bnm-blocks / bnm-blocks.php

bnm-blocks.php in Post Blocks & Tools 1.2.2, at bnm-blocks.php

47 lines 1.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Magazine Companion
4 * Description: A Collection of Post Blocks and tools for Blogs, Newspapers and Magazine websites.
5 * Requires at least: 6.0
6 * Requires PHP: 7.0
7 * Version: 1.2.2
8 * Author: ThemezHut
9 * License: GPL-2.0-or-later
10 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
11 * Text Domain: bnm-blocks
12 *
13 * @package bnm-blocks
14 */
15
16 if ( ! defined( 'ABSPATH' ) ) {
17 exit; // Exit if accessed directly.
18 }
19
20 define( 'BNMBT_URL', plugins_url( '/', __FILE__ ) );
21 define( 'BNMBT__PLUGIN_FILE', __FILE__ );
22 define( 'BNMBT__BLOCKS_DIRECTORY', 'build/' );
23 define( 'BNMBT__ADMIN_DIRECTORY', 'admin/' );
24 define( 'BNMBT__ADMIN_DIRECTORY_URL', plugins_url( BNMBT__ADMIN_DIRECTORY, BNMBT__PLUGIN_FILE ) );
25 define( 'BNMBT__PLUGIN_DIR', plugin_dir_path( BNMBT__PLUGIN_FILE ) );
26 define( 'BNMBT__VERSION', '1.2.2' );
27
28 $src_directory = BNMBT__PLUGIN_DIR . 'src/blocks/';
29 $inc_directory = BNMBT__PLUGIN_DIR . 'inc/';
30
31 require BNMBT__PLUGIN_DIR . 'vendor/autoload.php';
32
33 require_once $inc_directory . 'class-main.php';
34 require_once $inc_directory . 'css/class-css-utility.php';
35 require_once $inc_directory . 'css/blocks/class-post-block-1-css.php';
36 require_once $inc_directory . 'css/blocks/class-post-block-2-css.php';
37 require_once $inc_directory . 'css/blocks/class-post-block-sp-css.php';
38 require_once $inc_directory . 'css/blocks/class-post-slider-1-css.php';
39 include_once $inc_directory . 'demo-import/bnmbt-demo-main.php';
40
41 include_once $inc_directory . 'template-functions.php';
42 include_once $src_directory . 'posts/slider/view.php';
43 include_once $src_directory . 'posts/post-block-1/view.php';
44 include_once $src_directory . 'posts/post-block-2/view.php';
45 include_once $src_directory . 'posts/posts-ultra/view.php';
46 include_once $src_directory . 'posts/featured-posts-1/view.php';
47 include_once $src_directory . 'posts/featured-posts-2/view.php';