Answers.Body: <p>First you need to get the correct entry. Based on what you write, you can get it in any template by doing:</p>
  
  <pre><code>{% set contactPageEntry = craft.entries.section('pages').type('contact').first() %}
  </code></pre>
  
  <p>Then you should be able to loop over your matrix field like this:</p>
  
  <pre><code>{% for block in contactPageEntry.MatrixFieldHandle.type('MatrixBlockHandle') %}
      {{ block.title }} etc...
  {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-11-24T22:33:47.760Z
Answers.LastActivityDate: 2015-11-24T22:33:47.760Z
Answers.UserDisplayName: André Elvan
Body: <p>My site is built on a single structure section called "pages". It includes 4 entryTypes.</p>
  
  <p>One of the entryTypes is called "contact" and includes a MatrixBlock that displays fine on the contact page.</p>
  
  <p>I'd like to make use of those entries (from the Matrix Block) in the site's footer (on all pages). Here is where I started:</p>
  
  <pre><code>{% for block in entry.MatrixFieldHandle.type('MatrixBlockHandle') %}
  {{ block.title }} etc...
  {% endfor %}
  </code></pre>
  
  <p>This only works on the contact page itself. How can I display a Matrix Field elsewhere than on its own page?</p>
  
Tags: <matrix>
Title: Use Matrix Block as footer
ThreadText: # Use Matrix Block as footer
  
  (Asked by: username_0 on 2015-11-24)
  
  My site is built on a single structure section called "pages". It includes 4 entryTypes.
  
  One of the entryTypes is called "contact" and includes a MatrixBlock that displays fine on the contact page.
  
  I'd like to make use of those entries (from the Matrix Block) in the site's footer (on all pages). Here is where I started:
  
  ```
  {% for block in entry.MatrixFieldHandle.type('MatrixBlockHandle') %}
  {{ block.title }} etc...
  {% endfor %}
  
  ```
  
  This only works on the contact page itself. How can I display a Matrix Field elsewhere than on its own page?
  
  **Tags:** matrix
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-11-24. Score: 3
  
  First you need to get the correct entry. Based on what you write, you can get it in any template by doing:
  
  ```
  {% set contactPageEntry = craft.entries.section('pages').type('contact').first() %}
  
  ```
  
  Then you should be able to loop over your matrix field like this:
  
  ```
  {% for block in contactPageEntry.MatrixFieldHandle.type('MatrixBlockHandle') %}
      {{ block.title }} etc...
  {% endfor %}
  
  ```
  
  
  ---
  
  