+ Reply to Thread
Results 1 to 5 of 5

Thread: How to have site title in email template header?

  1. #1
    Senior Member
    Join Date
    May 2014
    Posts
    143

    How to have site title in email template header?

    Hello, I want to display the home page title (instead of site name) in email header next to the logo.

    I tried to replace {site_name} to {pages+title+home} on the html_email_source.html file, but it doesn't work.

    (I already have language key site_title and also added new key email_site_title, nothing works!

    Code:
    Only registered members can view the code.

  2. #2
    Try, see if it works

    Code:
    Only registered members can view the code.
    New Site: CameraSpecs https://bit.ly/3G4uYA6

    Old Site: MotorAdsUk

  3. #3
    Senior Member
    Join Date
    May 2014
    Posts
    143
    Hello Chris, It didn't worked.

    On the email template, it shows "{$lang.site_title}", i think it doesn't sync with languages.

    Because in email template, there's no $lang on keys like

    site_name, content, footer

    Any other soultion?

  4. #4
    yes I thought that may be the case. It would need new shortcodes adding I would think but unfortunately I never tried to do that.

    You could just write the title yourself in the email html file.
    New Site: CameraSpecs https://bit.ly/3G4uYA6

    Old Site: MotorAdsUk

  5. #5
    Senior Member
    Join Date
    May 2014
    Posts
    143
    Chris, Its multilingual site...I can't use direct text

+ Reply to Thread