Copenhagen Theme: Change Title Of Promoted Articles To Featured Articles | Community
Skip to main content

Copenhagen Theme: Change Title Of Promoted Articles To Featured Articles

  • March 1, 2018
  • 4 replies
  • 0 views

Hi, 

I updated to the new code editor and struggling to figure out how to make modifications to the CSS and JS that used to be easy. Any help would be greatly appreciated! I am trying to change the title on the homepage from "Promoted Articles" To "Featured Articles". How do I do that? 

Thank you! 

This topic has been closed for replies.

4 replies

Trapta
  • March 5, 2018

Hi @Linda,

Search for <h3>{{t 'promoted_articles'}}</h3> in your template and replace it with <h3>Featured Articles</h3>. Also if your Zendesk Plan has Dynamic Content then, you can use <h3>{{YOUR_DC}}</h3>  (Replace YOUR_DC with your DC placeholder) to provide multiple language support.

Let me know if you face any issue.

Thanks

Trapta


  • March 17, 2018

Just edited this for my theme! Thanks a bunch Trapta!


  • June 4, 2020

Hi All

Could you use dc for articles? If so, would we need to insert code into theme first to know what to pull through or would it be straight on the article?

Our situation is telephone numbers & opening hours, at the moment we have to update in multiple places if we could do this as dc would make it easier as knowing it would pull through on all brands/articles.

I'm just starting out on my css learning so appreciate the help :)


  • Community Manager
  • June 18, 2020

Hi Dawn! Check out the Content Blocks EAP - sounds like exactly what you're looking for and doesn't require any code :)