• Resolved informatux

    (@informatux)


    Hi,

    I’ve changed PHP Code snippet in the file “/wp-smart-import/views/admin/import/template/content.php” line 35 to show all Post Status and even the custom Post Status ??

    <?php $all_post_status = get_post_stati(); ?>
    <select name="post_status" class="wpsi-form-control" >
       <?php
    	  foreach($all_post_status as $status) {
    		 echo '<option value="" '.selected($post_data['post_status'], $status ).'>';
    		 echo $status;
    		 echo '</option>';
    	  }
       ?>
    </select>

    If you want to add this to your plugin, maybe it will interest some developers and users ??

    Patrice

Viewing 1 replies (of 1 total)
  • Plugin Author Xylus Themes

    (@xylus)

    Hello @informatux,

    Thanks a lot for reaching out to us.

    Thank you for your suggestion we will pass this snippet to our dev team and will try to include in upcoming releases.

    Have a great day ??

    Best Regards

Viewing 1 replies (of 1 total)
  • The topic ‘Post status’ is closed to new replies.