Taxonomy section.
Reworked custom post type section.
Updated code example.