文件操作 - link.php
返回文件管理
返回主菜单
删除本文件
文件: /storage/v12552/jimbrandstatter/public_html/wp-content/themes/Total/cards/link.php
编辑文件内容
<?php defined( 'ABSPATH' ) || exit; $html = ''; $class = 'wpex-card-title wpex-self-start theme-txt-link'; if ( function_exists( 'totalthemecore_get_instance_of' ) ) { $post_cards_instance = totalthemecore_get_instance_of( 'Vcex\Post_Cards' ); if ( is_callable( [ $post_cards_instance, 'get_atts' ] ) ) { $post_cards_atts = $post_cards_instance->get_atts(); if ( is_array( $post_cards_atts ) && isset( $post_cards_atts['display_type'] ) && in_array( $post_cards_atts['display_type'], [ 'ul_list', 'ol_list' ] ) ) { $class = trim( str_replace( 'wpex-card-title', '', $class ) ); } } } if ( get_queried_object_id() === $this->post_id ) { $class .= ' active'; } $link_open = $this->get_link_open( [ 'class' => $class, ] ); if ( ! $link_open ) { return; } $html .= $link_open; $html .= $this->get_the_title(); $html .= $this->get_link_close(); return $html;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件