In a matrix, link to entries with a future date This is somewhat related to this How can I display a &quot;pending&quot; entry in my &quot;_entry&quot; template?

I have an 'events' section where some entries have a future date - the above link solved my issue to get those listed in a sidebar and display single entries while ignoring the date. So far so good.

I have a homepage slider (a matrix field) where each slide can link to an entry - problem is those entries with a future date from the 'events' section are simply not showing up.(block.slideLink is my entries field inside the matrix)

Any ideas how to get around this?

{% for block in entry.homeslider %}
    {% if block.type == 'slides' %}         
        &lt;div class="item {% if loop.first %}active{% endif %}"&gt;
        &lt;img src="{{ siteUrl }}assets/img/slide-1.jpg" alt="" /&gt;
            &lt;div class="k-carousel-caption pos-2-3-right scheme-dark"&gt;
                &lt;div class="caption-content"&gt;
                    &lt;h3 class="caption-title"&gt;{{ block.slideTitle }}&lt;/h3&gt;
                    &lt;p&gt;{{ block.slideIntro }}&lt;/p&gt;
                    &lt;p&gt;
                        {% for link in block.slideLink %}
                        &lt;a href="{{ link.url }}" class="btn btn-sm btn-danger"&gt;lees verder...&lt;/a&gt;                                               
                        {% endfor %}
                    &lt;/p&gt;
                &lt;/div&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    {% endif %}
{% endfor %}
Forgot to take the entry status into account + an additional check for the sectionhandle to cover the custom route.
This solved it for me, if you have a better suggestion I'm all ears.

{% for link in block.slideLink.status('live', 'pending') %}
    {% if link.section.handle == 'events' %}
        &lt;a href="{{ siteUrl }}events/{{ link.slug }}" class="btn btn-sm btn-danger"&gt;lees verder...&lt;/a&gt; 
    {% else %}
        &lt;a href="{{ link.url }}" class="btn btn-sm btn-danger"&gt;lees verder...&lt;/a&gt; 
    {% endif %} 
{% endfor %}