Blog is not visible

With some templates, it might be that the blog will remain invisible until its first article(s) has/have been published. Check whether your blog contains (an) article(s).

Another possible scenario involves the use of the Template Editor. If you have activated it prior to adding the blog to your template, you will no longer receive template updates. If you see the Blogs option listed in the left menu of the back office but not in your online store, then this is due to the blog being a template update. You have to add the code for the blog function in your template editor. Add one of the following codes to Custom.rain and Fixed.rain

Only use the Template Editor when you possess in-depth knowledge of HTML and CSS.

Blog in navigation

{% if shop.blogs %}
{% for blog in shop.blogs %}
        <li class="item">
            <a class="itemLink" href="{{ blog.url | url }}" title="{{ 'Blog' | t }}">{{ 'Blog' | t }}</a>
    <ul class="subnav">
        {% for article in blog.articles %}
            <li class="subitem"><a class="subitemLink" href="{{ article.url | url }}" title="{{ article.title }}">{{ article.title }}</a></li>
        {% endfor %}
            </ul>
        </li>
    {% endfor %}
    {% endif %}
    </ul>                        

Blog in footer

<div class="blocks">
    <div class="block first">
        {% if shop.blogs %}
            {% for blog in shop.blogs %}
                <h3><a href="{{ blog.url | url }}" title="{{ blog.title }}">{{ blog.title }}</a></h3>
                <ul class="links" style="margin-bottom:20px;">
            {% for article in blog.articles %}
                <li><a href="{{ article.url | url }}" title="{{ article.title }}">{{ article.title }}</a></li>
            {% endfor %}
                </ul>
            {% endfor %}
        {% endif %}
Have more questions? Submit a request