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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user