• My sites use a lot of custom post types, and it would be very helpful to be able to convert their content, not just Posts and Pages.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Organic Themes

    (@organicthemes)

    Hello,

    Great suggestion! We’re considering this functionality for an add in the future. ??

    Thanks!

    Being able to convert classic blocks in custom post types would be great. Please consider adding this feature.

    Yes, please!

    +1

    For those who may still be looking at this, this is very easy to accomplish.

    NOTICE: I am not recommending this as standard practice

    I edited the plugin (since I’m only going to use it one time) and added my own Custom Post Types to the code.

    define( 'BBCONV_TYPES', serialize( array( 'post', 'page' , 'cpt1', 'cpt2','cpt3') ) );

    And done! It now searches my custom post types.

    Secondly, I had 150+ posts, and there weren’t any options to adjust the number of posts per page, so I edited that as well.

    $per_page = $this->get_items_per_page( 'posts_per_page', 200 );

    Now I get all my CPTs that I want, and a maximum of 200 per page.

    Again, under normal circumstances, I would not ever recommend editing a plugin. But for this one particular use case, it made sense to do it.

    @jdingman Thank you!

    I wonder if the developers endorse this code change?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Custom post types, please!’ is closed to new replies.