Select Page

Hiding an Element Inside Page Editor Via HusBpot HubL

Basically the if statement allows you to show only an element inside the if statement.

What code says:
If the user doesn’t use the page editor, the post-body will hair jordan 1 low flyease nike air jordan 1 mid se bouncing putty egg custom youth hockey jerseys ASU footall Jerseys nike dunk nfl custom made basketball jerseys personalized celtics jersey custom uniforms jordan 4 nike store air max 97 sale best football jersey yeezy boost 350 nike dunk nfl adidas yeezy boost 350 v2 dazzling blue ave a wrap id called contents.

{% if is_in_editor  %}  
               {{ content.post_body }}  
                {% else %}
<div id="contents">{{ content.post_body }}</div>
{% endif %}