I see that it is possible with shortcodes – however when I use the shortcodes on the login page, it shows “This content has been restricted to logged-in users only. Please log in to view this content”.
I don’t want this message to show in this instance! It only says “Your Account” to logged in users so it’s overkill having that restricted content message there!
Worked it out – I did:
.page-id-567 .um-locked-content {display:none;}