I’m unable to comment on this SX but I would have thought the best way to do what you wanted would have been to use a custom post type, but combine it with a custom taxonomy. In the same way that a post belongs to a category, a fish species could belong to a genus (the genus being the part defined by the custom taxonomy). The genus could then be arranged just like categories if desired – e.g. example.com/fish/apistogramma/panduro.
I’m not experienced in this area of WP development (In fact, I’m just embarking on my first project involving them at the moment) but I think they would have been a better option than modifying the slug to /genus-species.
See http://codex.wordpress.org/Taxonomies for more info.
Related Posts:
- Pagination not working with custom loop
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- Breadcrumbs with Custom Post Types?
- order by meta_value serialized array
- Get the most popular terms for a custom post type
- Custom taxonomy archive page not working
- How to add a link(href) so when i click it, it renders (shows all) posts of custom post type (rich_media), from the current category?
- Prevent change with new query_posts()
- Strip shortcode from specific post types (formats)
- CPT: archive-cpt.php VS custom page template
- wp_update_post based function works on existing posts, but not new posts
- Ajax form filter post by custom fields [closed]
- Custom Posts Hierarchy? (State/City/Restaurant)
- Custom Blog Post Listing in Genesis Sample Child Theme
- Exclude custom post type from list
- Custom post type code hides navigation
- An empty Custom Post Type Archive page returns 404 in WP 3.1
- After creating hierarchical post type, still not getting any way to set parent
- Custom Post Types: Can you add more than one Variable to a Column?
- How to rank custom post type from score points
- Pagination on category page with custom post types
- Custom query works but returns “Undefined Offset: 0”
- Custom post type permalink returns bad url
- Create a page that will be used to create a custom post type
- Display random posts, but omit the post it is on?
- WordPress 3.5 Media Uploader – Only allow 1 upload and certain file types
- wp_update_term_count_now doesn’t work with a custom post type?
- get_post_meta not working on publishing
- Getting Custom Post Type Meta on Publish
- Filter CPT posts by one or more categories
- Can I update all my posts inside my custom post type by creating a simple function
- WP Query with categories only shows one post and ignores the category
- Send notifications to custom post author when custom post is edited
- Searching Custom Post Types
- Auto insert custom post type title [closed]
- How do you get the full size url of an attachment image
- How to specify a template for a path like http://example.com/something?
- query_posts adding extra code to homepage
- Featured Image field not appearing in Custom post type
- Template to list categories in custom taxonomy
- how to remove pages loading with the archive templates
- Meta data (Tags and Categories) for Custom Posts not showing.
- How to display custom field value on page?
- Display different information of a custom post type
- Update post if exist from PHP
- How to add a sub directory to WordPress single posts without affecting other post types?
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- How to get the post terms from a child taxonomy
- Before saving post hook
- Adding Template Post Content
- Is it possible to sort metabox teaxtarea values?
- orderby parameter not working in custom query
- Which is the neatest way to have homepage articles and a blog?
- foreach loop inside the loop creating duplicates in output
- Display author box on just certain category posts?
- Custom loop request based on custom field
- Content in WP Editor displayed below CPT shortcode [duplicate]
- Tag template not returning posts [closed]
- Remove filter and view options from custom post type edit screen
- Custom Post Type Causes Error: Warning: call_user_func_array()
- Permalink with hierarchy of Custom Post Types
- How do I set a post slug automatically based on taxonomy?
- Get a list of custom post type (property) when clicked on custom taxonomy 1 (rent or sale) from custom taxonomy 2 (city) page
- How to divide Subcategories into pages of parent category wordpress
- update custom taxonomy custom fields
- Filter taxonomy by CPT
- How to submit custom post type front end form when a user buy specific product
- Is there any filter to add a custom attribute to the tag in admin panel?
- meta query condition don’t work
- How to group custom posts in admin menu based off taxonomy/postmeta
- Custom post type category returns null
- publish_post action callback not executed, why?
- Tell wordpress to show a single page instead of an archive page
- Templating advice sub posts of a CTP
- Post display in separate page [duplicate]
- Delete Post by User
- Two CPT: one is using part of the custom rewrite slug from the other
- Enable shortcodes on custom post type
- Only show current category post
- WordPress Contents Migration
- Add a image to a post published on a CPT from the front-end
- Pulling in Related Posts based on Post Type array
- Custom post type post taxonomies
- Have two (permalinks) urls for a same custom post type
- pre_get_posts action doesn’t work
- Query Posts From Multiple Post Types
- Bulk remove category from custom post type?
- Custom Post Types (Changing post style based on category)
- Page template anomaly
- Structure of custom post type / taxonomy?
- Notices when submitting custom post type from front-end
- Issue On Listing Woocommerce Parent Tag List
- show custom post’s post in two different divs [duplicate]
- Creating post custom field text area
- querying to custom field over ACF REST API
- YARRP related posts with custom post type and wp-graphql
- Menu Structure and URL structure, with Pages and Post-Type-Posts
- WordPress does not show the custom fields box
- Create a hierarchical list of posts that’s grouped and nested by category
- Two pagination in one page without AJAX