WBCE / News-with-Images

Extended news module which allows to have multiple images per post
0 stars 4 forks source link

Sorting option for tags #87

Closed instantflorian closed 3 years ago

instantflorian commented 3 years ago

Currently, there's no way to re-order the tags (neither in BE nor FE), e.g. the tags are always shown in the order they were created. Due to the database structure - no field for order at all and also differnent tables for tag name and tag ID - probably the least complicated way would be ordering the tag array before output in the functions.php, but even this seems to be surprisingly difficult. Once implemented in general, the configuration of the sorting option could be done in the /config/wbce_config.php, although this is not update safe, so a kind of config.private.php which will be read if existing but not been overwritten on updates would be useful. See https://forum.wbce.org/viewtopic.php?id=4527 for details.