feat(topics): restore topic taxonomy workflow

This commit is contained in:
kate522 committed 2026-11-10 22:31:11 +08:00
1 parent f3dd1ec3b1
commit a254cbd3e9
59 files changed
+771 -192

No files matched your search

+11 -1
View File
@@ -1,6 +1,6 @@
<?php
/**
* Reference-theme article parameters sidebar.
* Article parameters sidebar.
*
* @var array $ctx
* @package Jio
@@ -41,6 +41,16 @@ require_once get_template_directory() . '/templates/parts/submit/term-checks.php
</div>
</div>
</div>
<?php if (!empty($settings['allow_topics']) && !empty($ctx['topics'])) : ?>
<div class="newpost-topics-drop drop-select dropdown dependency-box">
<button type="button" data-toggle-class="open" data-target=".newpost-topics-drop" class="flex ac jsb drop-btn form-control mb6">
<span class="title-theme222"><i class="fa fas fa-cube mr6" aria-hidden="true"></i><?php esc_html_e('专题', 'jio'); ?></span><i class="ml6 fa fas fa-angle-right em12"></i>
</button>
<div class="dropdown-menu fluid"><div class="mini-scrollbar padding-w10 select-drop-box">
<?php jio_submit_render_term_checks($ctx['topics'], $ctx['current_topics'], 'topics'); ?>
</div></div>
</div>
<?php endif; ?>
<?php if (!empty($settings['custom_filter_s']) && !empty($ctx['custom_dimensions'])) : ?>
<?php foreach ($ctx['custom_dimensions'] as $dimension) :