| @@ -130,9 +130,9 @@ | ||
| 130 | 130 | |
| 131 | 131 | |
| 132 | 132 | $blockspare_priview_img_url = BLOCKSPARE_PLUGIN_URL . 'assets/blockspare-placeholder-img.jpg'; |
| 133 | 133 | $blockspare_food_img_url = BLOCKSPARE_PLUGIN_URL . 'assets/blockspare-placeholder-img-square.jpg'; |
| 134 | - | |
| 134 | + $blockspare_dashboard_logo = BLOCKSPARE_PLUGIN_URL . 'assets/images/blockspare-logo.png'; | |
| 135 | 135 | $taxonomies = get_categories(); |
| 136 | 136 | $txnm = array(); |
| 137 | 137 | |
| 138 | 138 | foreach( $taxonomies as $type ) { |
| @@ -151,9 +151,12 @@ | ||
| 151 | 151 | array( |
| 152 | 152 | 'srcUrl' => untrailingslashit(plugins_url('/', BLOCKSPARE_BASE_DIR . '/dist/')), |
| 153 | 153 | 'rest_url' => esc_url(rest_url()), |
| 154 | 154 | 'img' => $blockspare_priview_img_url, |
| 155 | + 'homeUrl'=>home_url(), | |
| 156 | + 'blogUrl'=>get_site_url(), | |
| 155 | 157 | 'menu_img_url' => $blockspare_food_img_url, |
| 158 | + 'logo'=>$blockspare_dashboard_logo, | |
| 156 | 159 | 'postTypes' => $this->aft_get_post_types(), |
| 157 | 160 | 'taxonomies' => $this->aft_get_taxonomies(), |
| 158 | 161 | 'postQueryEndpoint'=>'aft/v1/post-query', |
| 159 | 162 | 'config' => '', |
| @@ -219,8 +222,9 @@ | ||
| 219 | 222 | |
| 220 | 223 | function blockspare_blocks_loader(){ |
| 221 | 224 | |
| 222 | 225 | if ( PHP_VERSION_ID >= 50600 ) { |
| 226 | + require_once BLOCKSPARE_PLUGIN_DIR .'inc/layout/class-image-importer.php'; | |
| 223 | 227 | require_once BLOCKSPARE_PLUGIN_DIR . 'inc/layout/functions.php'; |
| 224 | 228 | require_once BLOCKSPARE_PLUGIN_DIR . 'inc/layout/registry.php'; |
| 225 | 229 | require_once BLOCKSPARE_PLUGIN_DIR . 'inc/layout/components.php'; |
| 226 | 230 | |
| @@ -242,8 +246,9 @@ | ||
| 242 | 246 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/latest-post-block/posts-grid/index.php'); |
| 243 | 247 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/latest-post-block/posts-list/index.php'); |
| 244 | 248 | |
| 245 | 249 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/latest-post-block/posts-express-grid/index.php'); |
| 250 | + include(BLOCKSPARE_PLUGIN_DIR . '/inc/latest-post-block/posts-express-grid/post-content.php'); | |
| 246 | 251 | |
| 247 | 252 | |
| 248 | 253 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/latest-post-block/posts-carousel-grid/index.php'); |
| 249 | 254 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/latest-post-block/posts-slider/index.php'); |
| @@ -249,8 +254,9 @@ | ||
| 249 | 254 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/latest-post-block/posts-slider/index.php'); |
| 250 | 255 | |
| 251 | 256 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/post-banner/banner-1/index.php'); |
| 252 | 257 | include(BLOCKSPARE_PLUGIN_DIR . '/inc/post-banner/banner-2/index.php'); |
| 258 | + include(BLOCKSPARE_PLUGIN_DIR . '/inc/post-banner/banner-9/index.php'); | |
| 253 | 259 | include(BLOCKSPARE_PLUGIN_DIR . 'inc/block-posts-config/ajax-pagination.php'); |
| 254 | 260 | include(BLOCKSPARE_PLUGIN_DIR . 'inc/block-posts-config/class-post-rest-api.php'); |
| 255 | 261 | include(BLOCKSPARE_PLUGIN_DIR . 'inc/block-posts-config/class-multiauthor-backend.php'); |
| 256 | 262 | include(BLOCKSPARE_PLUGIN_DIR . 'inc/block-posts-config/class-multiauthor-frontend.php'); |