PluginProbe
Sight – Professional Image Gallery and Portfolio / 1.0.9
Sight – Professional Image Gallery and Portfolio v1.0.9
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.0.8 1.0.9 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8
sight / render / handler / post-area-init.php

post-area-init.php in Sight – Professional Image Gallery and Portfolio 1.0.9, at render/handler/post-area-init.php

31 lines 676 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Sight block template
4 *
5 * @var $attributes - attributes
6 * @var $options - options
7 *
8 * @link https://codesupply.co
9 * @since 1.0.0
10 *
11 * @package Sight
12 */
13
14 switch ( $attributes['source'] ) {
15 case 'projects':
16 require SIGHT_PATH . 'render/handler/post-area-projects.php';
17 break;
18 case 'categories':
19 require SIGHT_PATH . 'render/handler/post-area-categories.php';
20 break;
21 case 'post':
22 require SIGHT_PATH . 'render/handler/post-area-post.php';
23 break;
24 case 'custom':
25 require SIGHT_PATH . 'render/handler/post-area-custom.php';
26 break;
27 default:
28 require SIGHT_PATH . 'render/handler/post-area-none.php';
29 break;
30 }
31