文件操作 - introduction.php
返回文件管理
返回主菜单
删除本文件
文件: /home/www/public/wp-content/plugins/give/src/Views/Form/Templates/Sequoia/sections/introduction.php
编辑文件内容
<?php /** * @since 4.16.4 Escaped the introduction headline output. * @since 4.16.2 Escape introduction image URL when rendering the template. */ use Give\Helpers\Form\Template\Utils\Frontend as FrontendFormTemplateUtils; $formInfo = get_post(FrontendFormTemplateUtils::getFormId()); /* @var \Give\Form\Template $formTemplate */ $formTemplate = Give()->templates->getTemplate(); // Get headline and description $headline = $formTemplate->getFormHeading($formInfo->ID); $description = $formTemplate->getFormExcerpt($formInfo->ID); $image = $formTemplate->getFormFeaturedImage($formInfo->ID); ?> <div class="give-section introduction"> <h2 class="headline"> <?php echo esc_html($headline); ?> </h2> <?php if ( ! empty($description)) : ?> <div class="seperator"></div> <p class="description"> <?php echo $description; ?> </p> <?php endif; ?> <?php if ( ! empty($image)) : ?> <div class="image"> <img src="<?php echo esc_url( $image ); ?>" /> </div> <?php endif; ?> <?php require 'income-stats.php'; require 'progress-bar.php'; ?>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件