Special text on homepage
I am trying to put an extra class to the div that shows ads on homepage. So I edited loop-ad_listing.php
<?php if ( is_front_page() ) { ?>
<div class="post-block-out pbo pbo-home <?php cp_display_style( 'featured' ); ?>">
<?php } else { ?>
<div class="post-block-out pbo <?php cp_display_style( 'featured' ); ?>">
<?php } ?>
But the condition is_front_page() doesn't seem to work.