ARCHIVE POST ORDER PLUS:カスタム投稿アーカイブの追加
カスタム投稿アーカイブ対応 全体設定で「全件」指定時に「全体設定に従う」の設定が反映されないバグの修正
This commit is contained in:
+17
-7
@@ -10,6 +10,7 @@ $submit_type = APOP_UI::input_post_filter( 'apop_submit_type', 'str' );
|
||||
<li><?php _e( 'Category', APOP_DOMAIN ); ?></li>
|
||||
<li><?php _e( 'Tag', APOP_DOMAIN ); ?></li>
|
||||
<li><?php _e( 'Custom taxonomy', APOP_DOMAIN ); ?></li>
|
||||
<li><?php _e( 'Custom posts', APOP_DOMAIN ); ?></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<form action="" method="post">
|
||||
@@ -83,30 +84,39 @@ $submit_type = APOP_UI::input_post_filter( 'apop_submit_type', 'str' );
|
||||
<div class="tax_sort_box">
|
||||
<?php
|
||||
$tax_lists = array( 'category' => APOP_UI::get_cat_tag_list( 'cat', 'category' ) );
|
||||
$tax_title_text = __('Category', APOP_DOMAIN);
|
||||
$tax_title_text = __( 'Category', APOP_DOMAIN );
|
||||
include APOP_PLUGIN_PATH . 'template/order_parts_taxonomy.php';
|
||||
?>
|
||||
<?php include APOP_PLUGIN_PATH . 'template/order_parts_taxonomy.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-order-box">
|
||||
<div class="tax_sort_box">
|
||||
<?php
|
||||
$tax_lists = array( 'tag_id' => APOP_UI::get_cat_tag_list( 'tag', 'post_tag' ) );
|
||||
$tax_title_text = __('Tag', APOP_DOMAIN);
|
||||
$tax_title_text = __( 'Tag', APOP_DOMAIN );
|
||||
include APOP_PLUGIN_PATH . 'template/order_parts_taxonomy.php';
|
||||
?>
|
||||
<?php include APOP_PLUGIN_PATH . 'template/order_parts_taxonomy.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-order-box">
|
||||
<div class="tax_sort_box">
|
||||
<?php
|
||||
$tax_lists = array( 'taxonomy' => APOP_UI::get_cat_tag_list( 'tax', 'taxonomy' ) );
|
||||
$tax_title_text = __('Custom taxonomy', APOP_DOMAIN);
|
||||
$tax_title_text = __( 'Custom taxonomy', APOP_DOMAIN );
|
||||
include APOP_PLUGIN_PATH . 'template/order_parts_taxonomy.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="post-order-box">
|
||||
<div class="tax_sort_box">
|
||||
<?php
|
||||
$custom_posts_lists = APOP_UI::get_enable_custompost_archive();
|
||||
$custom_posts_title_text = __( 'Custom posts', APOP_DOMAIN );
|
||||
include APOP_PLUGIN_PATH . 'template/order_parts_custom_posts.php';
|
||||
?>
|
||||
<?php include APOP_PLUGIN_PATH . 'template/order_parts_taxonomy.php'; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<p class="apop-submit"><input type="submit" name="submit" class="button-primary" value="<?php _e( 'Save changes', APOP_DOMAIN ); ?>"/></p>
|
||||
<p class="apop-submit"><input type="submit" name="submit" class="button-primary"
|
||||
value="<?php _e( 'Save changes', APOP_DOMAIN ); ?>"/></p>
|
||||
</form>
|
||||
</div>
|
||||
Reference in New Issue
Block a user