diff --git a/automatically-paginate-posts.php b/automatically-paginate-posts.php index 60ad1525748bdfb093f52c44730c44b6f0f958bf..c2ea7dea956f7e203b5a76fe69c53382a33265cc 100644 --- a/automatically-paginate-posts.php +++ b/automatically-paginate-posts.php @@ -59,7 +59,9 @@ class Automatically_Paginate_Posts { * @return null */ function action_add_meta_boxes() { - add_meta_box( 'autopaging', 'Post Autopaging', array( $this, 'meta_box_autopaging' ), 'post', 'side' ); + foreach ( $this->post_types as $post_type ) { + add_meta_box( 'autopaging', 'Post Autopaging', array( $this, 'meta_box_autopaging' ), $post_type, 'side' ); + } } /**