Dynamically display sub-categories on primary menu without adding them

Another user has provided sample code in a separate thread. Reading their code, it appears to be just what you’re looking for.

Good luck!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)