• Thank you for your work.
    My qustion is about how can I include in a serie other type(s) of posts?

    Thanks in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author Jon Weatherhead

    (@jweathe)

    Hi, the plugin is hardcoded for posts only.
    It is possible to add a hook to init to extend support to other post types.
    I’d recommend making this hook priority of 11 to ensure that it runs after the Also In This Series init hook.

    
    add_action( 'init', function() {
      register_taxonomy_for_object_type(
        \planetjon\wordpress\also_in_this_series\SERIES_TAXONOMY,
        'custom_post_type'
      );
    }, 11 );
    
Viewing 1 replies (of 1 total)

The topic ‘Custom post type?’ is closed to new replies.