Use theme translations and fix login-link id (#5)
* Use theme translations and fix login-link id Switches over to using theme translations instead of theme settings to manage the text content. This just adds a little extra flexibility for admins if they want to translate the text to other languages. It also replaces the `login-link` id with `cta-login-link` since the `login-link` id is already used in core. The relevant CSS is added along with it. * Run prettier
This commit is contained in:
@@ -3,19 +3,3 @@ enabled_categories:
|
||||
list_type: category
|
||||
default: ""
|
||||
description: "Choose which categories that users need to sign up for."
|
||||
heading_text:
|
||||
type: string
|
||||
default: "This area is for members only"
|
||||
description: ""
|
||||
subheading_text:
|
||||
type: string
|
||||
default: "Create an account to view this content"
|
||||
description: ""
|
||||
signup_cta_label:
|
||||
type: string
|
||||
default: "Sign Up"
|
||||
description: ""
|
||||
login_cta_label:
|
||||
type: string
|
||||
default: "Already have an account? Sign in"
|
||||
description: ""
|
||||
|
||||
Reference in New Issue
Block a user