0

How can I display all entries in one page? I have a jobs Channel and inside of it there are 5 entries:

Title | Company  | Email
-------------------------
title1  company1   email1
title2  company2   email2
title3  company3   email3
title4  company4   email4
title5  company5   email5 

I want it to be display in one page

2
  • 3
    Are title 1, 2, 3 etc fields or entirely new entries? Apr 20 '17 at 9:27
  • 3
    Lance, do you have the entries already setup and just need templating advice? If so, answering Justin's question will help. Or are you wanting help setting the entries up as well? Apr 20 '17 at 11:50
1

Use craft.entries:

{% for job in craft.entries.section('jobs') %}
  <div>
    Title: {{ job.title }}<br>
    Company: {{ job.company }}<br>
    Email: <a href="mailto:{{ job.email }}">{{ job.email }}</a>
  </div>
{% endfor %}
1
  • @lanceadriannedelacruz, please consider accepting Jordan's answer if it solved your problem.
    – Matt Stein
    Apr 21 '17 at 4:19

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.