# Allow"Parts" post\_type to be selectable on EPUB Imports

**URL:** <https://pressbooks.community/t/allow-parts-post-type-to-be-selectable-on-epub-imports/159>\
**Category:** Developer Questions\
**Created:** [May 4, 2017, 8:52pm UTC](https://pressbooks.community/t/allow-parts-post-type-to-be-selectable-on-epub-imports/159 "2017-05-04T20:52:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bryan](https://pressbooks.community/user_avatar/pressbooks.community/bryan/32/46_2.png) [@bryan](https://pressbooks.community/u/bryan)\
**Post date:** [May 4, 2017, 8:52pm UTC](https://pressbooks.community/t/allow-parts-post-type-to-be-selectable-on-epub-imports/159/1 "2017-05-04T20:52:32Z")

</div>

@ned,

The WXR Import routine gives the user the option to select “Front Matter”, “Page”, “Part”, “Back Matter” and it imports those post types correctly. The EPUB import routine only allows the user to select “Front Matter”, “Page”, and “Back Matter”. It would be an awesome feature to allow users to select “Part” and even other post types (a filter hook already exists called `pb_import_custom_post_types` that is used in the WXR routine).

Having not spent a great deal of time looking at it, it seems plausible to be able to do this.

Cheers!

Bryan

---

<div class="post-metadata">

**Author:** ![ned](https://pressbooks.community/user_avatar/pressbooks.community/ned/32/533_2.png) [@ned](https://pressbooks.community/u/ned)\
**Post date:** [May 8, 2017, 12:22pm UTC](https://pressbooks.community/t/allow-parts-post-type-to-be-selectable-on-epub-imports/159/2 "2017-05-08T12:22:44Z")

</div>

This would be great. PRs welcome 😉

---

<div class="post-metadata">

**Author:** ![bryan](https://pressbooks.community/user_avatar/pressbooks.community/bryan/32/46_2.png) [@bryan](https://pressbooks.community/u/bryan)\
**Post date:** [May 9, 2017, 4:51pm UTC](https://pressbooks.community/t/allow-parts-post-type-to-be-selectable-on-epub-imports/159/3 "2017-05-09T16:51:15Z")

</div>

Happy to take a stab at this when I have some time. 😛

Cheers!

---

<div class="post-metadata">

**Author:** ![EttaT](https://pressbooks.community/letter_avatar_proxy/v4/letter/e/c37758/32.png) [@EttaT](https://pressbooks.community/u/EttaT)\
**Post date:** [August 4, 2023, 7:59pm UTC](https://pressbooks.community/t/allow-parts-post-type-to-be-selectable-on-epub-imports/159/4 "2023-08-04T19:59:39Z")

</div>

I know this is an old post, but I’m wondering if this is still the case or if there has been development addressing this issue?

Thanks!  
Etta

---

<div class="post-metadata">

**Author:** ![SteelWagstaff](https://pressbooks.community/user_avatar/pressbooks.community/steelwagstaff/32/1280_2.png) [@SteelWagstaff](https://pressbooks.community/u/SteelWagstaff)\
**Post date:** [September 6, 2023, 5:20am UTC](https://pressbooks.community/t/allow-parts-post-type-to-be-selectable-on-epub-imports/159/5 "2023-09-06T05:20:27Z")

</div>

Hi @EttaT this is still the case, I’m afraid.
