进行了一些小修复
This commit is contained in:
1 parent
992af2119d
commit
2cb78edabb
26 files changed
+2091
-2383
No files matched your search
@@ -3,7 +3,7 @@
|
||||
* Template Name: AKSRT - 写文章/投稿
|
||||
* Template Post Type: page
|
||||
*
|
||||
* 前台文章投稿页(对齐 legacy newposts:双栏 + TinyMCE + 封面 + 付费 + 草稿)。
|
||||
* Front-end article submission page matching the reference newposts layout.
|
||||
* 注意:page-newposts.php 是「最新文章」列表,不是投稿。
|
||||
*
|
||||
* @package AKSRT
|
||||
@@ -124,17 +124,19 @@ if (file_exists($js)) {
|
||||
|
||||
get_header();
|
||||
?>
|
||||
<main id="main-content" class="site-main container aksrt-article-compose" tabindex="-1">
|
||||
<form class="aksrt-submit-form aksrt-article-compose__form" id="aksrt-submit-form" data-aksrt-submit-form data-dirty="false" novalidate>
|
||||
<div class="aksrt-article-compose__layout">
|
||||
<main id="main-content" role="main" class="container" tabindex="-1">
|
||||
<form id="aksrt-submit-form" data-aksrt-submit-form data-dirty="false">
|
||||
<div class="content-wrap newposts-wrap">
|
||||
<div class="content-layout">
|
||||
<?php
|
||||
$main = get_template_directory() . '/templates/parts/submit/editor-main.php';
|
||||
if (file_exists($main)) {
|
||||
include $main;
|
||||
}
|
||||
?>
|
||||
<aside class="aksrt-submit-sidebar">
|
||||
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_top', 'aksrt-submit-sidebar__widgets'); ?>
|
||||
</div>
|
||||
<aside class="sidebar">
|
||||
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_top'); ?>
|
||||
<?php
|
||||
$terms = get_template_directory() . '/templates/parts/submit/sidebar-terms.php';
|
||||
if (file_exists($terms)) {
|
||||
@@ -149,7 +151,7 @@ get_header();
|
||||
include $actions;
|
||||
}
|
||||
?>
|
||||
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_bottom', 'aksrt-submit-sidebar__widgets'); ?>
|
||||
<?php \AKSRT\WidgetSystem\WidgetAreas::render('newposts_sidebar_bottom'); ?>
|
||||
</aside>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in new issue
Block a user