Entry field not outputting after {% set... %} code in template I have an {entry.footer} field outputting just fine everywhere before {% set entry... %}
Added {% endset %} tags after closing anchor tag and caused an error. Any idea what the issue is?

{% extends "_layout" %}

{% block home_slider %}
{% include 'global/home-slider.html' %}
{% endblock %}

{% block content %}
            &lt;main id="main" role="main"&gt;
                &lt;div id="content"&gt;
                    &lt;div class="holder-top"&gt;
                        &lt;div class="holder"&gt;
                            &lt;div class="text-wrap"&gt;
                                &lt;div class="wrap"&gt;
                                     {{ entry.body }}
                                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;div class="three-columns"&gt;
                                &lt;div class="wrap"&gt;
                                    {% for block in entry.threeHomepageImages.type('images') %}
                                        &lt;div class="col"&gt;
                                            &lt;div class="image-block"&gt;
                                                &lt;div class="image"&gt;
                                                    {% if block.image|length %}
                                                        &lt;a href="{{ block.pageLink.first().getUrl() }}"&gt;&lt;img src="images/{{ block.image.first }}.jpg" alt="{{ block.alt }}"&gt;&lt;/a&gt;
                                                    {% endif %}
                                                &lt;/div&gt;
                                            &lt;/div&gt;
                                            &lt;h1&gt;&lt;a href="{{ block.pageLink.first().getUrl() }}"&gt;{{ block.imageTitle }}&lt;/a&gt;&lt;/h1&gt;
                                        &lt;/div&gt;
                                    {% endfor %}
                                &lt;/div&gt;
                            &lt;/div&gt;
                            &lt;div class="btn-holder"&gt;
                                &lt;div class="btn-wrap"&gt;
                                    {% set entry = craft.entries.slug('get-a-quote').first %}
                                    &lt;a href="{{ entry.url }}" class="btn-quote"&gt;request a quote&lt;/a&gt;
                                    {% endset %}
                                &lt;/div&gt;
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;
                    &lt;div class="holder-bottom"&gt;
                        &lt;div class="quote"&gt;
                            {{ entry.footer }}
                        &lt;/div&gt;
                    &lt;/div&gt;
                &lt;/div&gt;
            &lt;/main&gt;

{% endblock %}
Here's your problem... You're redefining entry halfway down the page.

This page clearly uses the section's built-in routing functionality. I can tell because you use entry.body near the top of your page without explicitly declaring the value of entry.

However, you later on use {% set entry %} to reassign the value of entry. Based on the new value of entry, the entry.footer property no longer exists or is empty.

How to fix it...

Instead of {% set entry %}, use a different variable name:

{% set getQuoteEntry = craft.entries.slug('get-a-quote').first %}
&lt;a href="{{ getQuoteEntry.url }}" class="btn-quote"&gt;request a quote&lt;/a&gt;


This will leave the original value of entry untouched, and you'll still have access to entry.footer at the bottom of the page.