文件操作 - post_navigation.php
返回文件管理
返回主菜单
删除本文件
文件: /var/www/vec.uaysen.cl/html/wp-content/plugins/us-core/config/elements/post_navigation.php
编辑文件内容
<?php defined( 'ABSPATH' ) OR die( 'This script cannot be accessed directly.' ); /** * Configuration for shortcode: post_navigation */ $taxonomies_options = us_get_taxonomies(); $misc = us_config( 'elements_misc' ); $design_options_params = us_config( 'elements_design_options' ); /** * @return array */ return array( 'title' => __( 'Post Prev/Next Navigation', 'us' ), 'category' => __( 'Post Elements', 'us' ), 'icon' => 'fas fa-exchange-alt', 'params' => us_set_params_weight( // General array( 'layout' => array( 'title' => __( 'Layout', 'us' ), 'type' => 'select', 'options' => array( 'simple' => __( 'Simple links', 'us' ), 'sided' => __( 'On sides of the screen', 'us' ), ), 'std' => 'simple', 'admin_label' => TRUE, 'usb_preview' => TRUE, ), 'invert' => array( 'type' => 'switch', 'switch_text' => __( 'Invert position of previous and next', 'us' ), 'std' => FALSE, 'usb_preview' => TRUE, ), 'in_same_term' => array( 'type' => 'switch', 'switch_text' => __( 'Navigate within the specified taxonomy', 'us' ), 'std' => FALSE, 'usb_preview' => TRUE, ), 'taxonomy' => array( 'type' => 'select', 'options' => $taxonomies_options, 'std' => key( $taxonomies_options ), 'classes' => 'for_above', 'show_if' => array( 'in_same_term', '!=', FALSE ), 'usb_preview' => TRUE, ), 'prev_post_text' => array( 'title' => __( 'Previous Post subtitle', 'us' ), 'type' => 'text', 'std' => us_translate( 'Previous Post' ), 'cols' => 2, 'show_if' => array( 'layout', '=', 'simple' ), 'usb_preview' => TRUE, ), 'next_post_text' => array( 'title' => __( 'Next Post subtitle', 'us' ), 'type' => 'text', 'std' => us_translate( 'Next Post' ), 'cols' => 2, 'show_if' => array( 'layout', '=', 'simple' ), 'usb_preview' => TRUE, ), ), $design_options_params ), );
修改文件时间
将文件时间修改为当前时间的前一年
删除文件