
<div class="wrap">
    <h1>评论批量转移工具</h1>
    
    <div class="card">
        <h2>按文章转移</h2>
        <form method="post">
            <?php wp_nonce_field('transfer_comments_action'); ?>
            <p>
                <label>从文章ID: <input type="number" name="source_post"></label>
                <label>转移到文章ID: <input type="number" name="target_post"></label>
            </p>
            <button type="submit" class="button button-primary">执行转移</button>
        </form>
    </div>
    <div class="card1">
<?php echo do_shortcode('[show_post_ids]'); ?>
    </div>
    <div class="card">
        <h2>按作者转移</h2>
        <form method="post">
            <?php wp_nonce_field('transfer_by_author_action'); ?>
            <p>
                <label>从作者: <?php wp_dropdown_users(['name' => 'source_author']); ?></label>
                <label>转移到作者: <?php wp_dropdown_users(['name' => 'target_author']); ?></label>
            </p>
            <button type="submit" class="button button-primary">执行转移</button>
        </form>
    </div>
</div>
</br></br></br></br></br></br></br></br></br></br></br></br></br></br></br></br>
