Results 1 to 1 of 1

Thread: Special text on homepage

  1. #1
    Thread Starter
    manishkhullar's Avatar
    Join Date
    Nov 2012
    Location
    India
    Posts
    893
    Thanks
    19
    Thanked 15 Times in 14 Posts

    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.
    A perfect place to outsource your SEO requirements. Check SEO prices in Australia.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] page of text in homepage
    By paule in forum Help Using ClassiPress
    Replies: 2
    Last Post: July 3rd, 2013, 01:30 AM
  2. Samcy Text widget on homepage
    By suzmat in forum Help Using ClassiPress
    Replies: 1
    Last Post: July 2nd, 2013, 03:11 PM
  3. [MOD NEEDED] Add default text in a special custom field
    By dikiyforester in forum ClassiPress General Discussion
    Replies: 6
    Last Post: February 5th, 2012, 02:02 PM
  4. Ad text on homepage not appearing
    By abetts in forum Report ClassiPress Bugs
    Replies: 9
    Last Post: February 14th, 2011, 05:25 PM
  5. Adding text box only to homepage
    By f1hybrids in forum ClassiPress General Discussion
    Replies: 1
    Last Post: January 31st, 2011, 01:58 AM