Output as fields on twig

Using below references, managed to output combined custom fields - first name and last name fields in user.html.twig template, without using hook alters or overwriting the user page template file:

Output on Page Title as tokens

Probably for search engine optimization (SEO) purposes, you may need to utilize the Meta Tags module to output the same custom fields by using tokens.

Leave a Comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
To prevent automated spam submissions leave this field empty.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
2 + 0 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Get reliable web hosting services

Recurring donation

Make Donation

  • Other: $

Donate now

Single donation

Make Donation

  • Other: $

Donate now