# BUG? Adding 'is\_frontpage' adds \>\> to html code

**URL:** <https://forum.pinegrow.com/t/bug-adding-is-frontpage-adds-to-html-code/855>\
**Category:** General\
**Created:** [April 14, 2017, 7:19am UTC](https://forum.pinegrow.com/t/bug-adding-is-frontpage-adds-to-html-code/855 "2017-04-14T07:19:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![24degrees](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/24degrees/32/136_2.png) [@24degrees](https://forum.pinegrow.com/u/24degrees)\
**Post date:** [April 14, 2017, 7:19am UTC](https://forum.pinegrow.com/t/bug-adding-is-frontpage-adds-to-html-code/855/1 "2017-04-14T07:19:15Z")

</div>

Hi there,

when I add the conditional ‘is\_frontpage’ and I select ‘NOT’, the generated php code seems to add a chevron arrow in front of the element:

```
<section data-pg-name="PAGEDESCRIPTION" wp-if-is-front-page="!">
    <div id="sitetitle" class="container welcome">
        <div class="row blocktitle">
            <div class="col-md-10 col-md-offset-1">
                <p class="h1" wp-title>page title</p>
                <p class="blocksubtitlesmall">[sahyt]</p>
            </div>
        </div>
    </div>
</section>

```

HTML:

```
<?php if ( !is_front_page() ) : ?>
    <section>
        <div id="sitetitle" class="container welcome">
            <div class="row blocktitle">
                <div class="col-md-10 col-md-offset-1">
                    <?php wp_title(); ?>
                    <p class="blocksubtitlesmall"><?php _e( '[sahyt]', 'tfdegreesnelis' ); ?></p>
                </div>
            </div>
        </div>
    </section>
<?php endif; ?>

```

RESULT:

`» Page 2`

---

<div class="post-metadata">

**Author:** ![Rob](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/rob/32/9_2.png) [@Rob](https://forum.pinegrow.com/u/Rob)\
**Post date:** [April 15, 2017, 5:49pm UTC](https://forum.pinegrow.com/t/bug-adding-is-frontpage-adds-to-html-code/855/2 "2017-04-15T17:49:51Z")

</div>

@24degrees have you checked your stylesheet, it might be getting added there!

---

<div class="post-metadata">

**Author:** ![24degrees](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/24degrees/32/136_2.png) [@24degrees](https://forum.pinegrow.com/u/24degrees)\
**Post date:** [April 15, 2017, 10:01pm UTC](https://forum.pinegrow.com/t/bug-adding-is-frontpage-adds-to-html-code/855/3 "2017-04-15T22:01:39Z")

</div>

Yeah I did. It is just one big mystery out here 😉

I’ve disabled my css already and still the same thing happens. Also checked js. Weird thing is that there’s no ‘code’ for the chevron sign anywhere in my project. I use Atom and did some searches throughout the project on several codes that would produce the chevron thing.
