I have a taxonomy called stocks. it has various items such as 'NFLX', 'AAPL', 'GOOG'
I want to be able to assign two things to a WordPress Post:
- Main stock (only one item selected from the Stocks taxonomy.
- Mentioned stocks (select one or more items from the Stocks taxonomy).
Here's the other thing, I want the slug for the MAIN STOCK to be in the URL of my post.
I write an article on Apple Inc and mention other competing companies. The main stock would be AAPL. Mentioned stocks would be AAPL, GOOG, AMZN, etc. And I'd want the URL to be
So, I'm trying to avoid creating two taxonomies (i.e. Main Stock and Mentioned Stocks) and filling both up with the same set of stocks. Ideally, I want to create one taxonomy and use it in two places. Then pull the slug for that taxonomy item selected for the "main stock" to be used in the URL of the post itself.
Is this possible?