Replace class shortcodes with links to the proper class