updated widget_cta logic based on general settings and on frontend display