4

I have the following -

{% set press = craft.entries.section('press').first() %}

{{ press.title }}

If I change the section title in the Sections area of the back end from something like "Press" to "Testimonials" - I still see Press when I call press.title. The section is set to a single.

I've tried clearing cache in the back end which doesn't seem to do the trick. Any advice?

  • 1
    Mind adding that as an official answer? – Brad Bell Sep 22 '15 at 19:24
7

For anyone stuck on this -- when changing a Section's name you have to goto the entry under Entries and hit save. This will update the mysql row / title.

| improve this answer | |
  • This makes sense now that I know it, but it's incredibly unintuitive – aw04 Feb 21 '17 at 21:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.