Group options by taxonomy term belongs too? OR even manually sort?
-
Select / Unselect All Killzone: Shadow Fall Sonic Lost World - Deadly Six Edition Sonic Lost World 3DS Sonic Space Migets Sonic the lost world Super Mario 3D World gdggsgdfhdghnvbnvbnhffgvbnvbnvnfgghbfdhf Killzone Sonic the Hedgehog Super Mario Nintendo 3DS Sony ? Playstation 4 Sony Wii U First Person Shooter Platformer
Thats how they are mashed at the moment. When something like:
Game Titles: Killzone: Shadow Fall Sonic Lost World - Deadly Six Edition Sonic Lost World 3DS Sonic Space Migets Sonic the lost world Super Mario 3D World Game Series: gdggsgdfhdghnvbnvbnhffgvbnvbnvnfgghbfdhf Killzone Sonic the Hedgehog Super Mario System Format: Nintendo 3DS Sony ? Playstation 4 Sony Wii U Genre: First Person Shooter Platformer
That is more what I am after. Otherwise in a extremely short time it is going to turn into a gigantic wall of mess.
function my_taxonomy_types($taxonomies) { $taxonomies[] = 'games_titles'; $taxonomies[] = 'gaming_series'; $taxonomies[] = 'system_formats'; $taxonomies[] = 'gaming_genres'; return $taxonomies; } add_filter('s2_taxonomies', 'my_taxonomy_types');
That is how they are being added so surely there must be a way to inform Subscribe2 to treat them as separate boxes/groups under a header? Also
'hierarchical' => true,
is part of the taxonomy setups I use and have no problems using them before.Furthermore advice given by mattyrob pointed me to
all_cats() function in the class-s2-core.php
and
display_category_form() function in the class-s2-admin.php
.
From what I can see there are two points of interest:
1)$all_cats = array_merge on line 1106. This would cause (from my experience which isn’t great) the different terms to be mashed together and loose there uniqueness by creating a new array/grouping.
2)display_category_form() simply calls the $all_cats which by this time has been mashed into a single array.As mentioned I really do not have much experience with such systems and is why I am still hopeful of using this plugin. If anyone has any advise to help assist with this that would be great.
- The topic ‘Group options by taxonomy term belongs too? OR even manually sort?’ is closed to new replies.