feat(front-submit): 1:1 写文章/投稿页对齐 zibll newposts

Register AKSRT 写文章/投稿 page template, wire header publish entry to
front submit URL, rewrite page-submit as dual-column TinyMCE compose with
featured cover, multi-category/topics/filters, pay box, drafts, and
capability-gated FrontSubmit AJAX (pay/featured traits).
This commit is contained in:
2026-07-18 13:29:27 +08:00
parent cd4b1a73dc
commit 518e825bdd
25 changed files with 3029 additions and 982 deletions
+5 -3
View File
@@ -436,9 +436,11 @@ if (!function_exists('aksrt_single_render_author_card')) :
<div class="user-btns mt20">
<?php if ($is_self) : ?>
<?php
$submit = function_exists('aksrt_get_page_url_by_template')
? (string) aksrt_get_page_url_by_template('templates/pages/page-submit.php')
: '';
$submit = function_exists('aksrt_get_new_post_url')
? (string) aksrt_get_new_post_url()
: (function_exists('aksrt_get_page_url_by_template')
? (string) aksrt_get_page_url_by_template('templates/pages/page-submit.php')
: '');
$center = function_exists('aksrt_get_user_center_url')
? (string) aksrt_get_user_center_url()
: $author_url;