Adding missing code to display PDF link in widget when External PDF Link is not empty and set to display PDF links