Results 1 to 4 of 4

Thread: Only display Featured Ads with images

  1. #1
    Thread Starter
    fresh_kells's Avatar
    Join Date
    Jul 2012
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Only display Featured Ads with images

    I have a free ads site, and because its free all ads appear in the featured ads slider, including ads that don't have images.
    It just makes the slider look like its not displaying images properly.

    In featured.php on line 8 (the start of the if statement) would it be possible to add in an "and" statement with a condition to check for an image?
    <?php if ( get_option('cp_enable_featured') == 'yes' ) : ?>

    If anyone could help I would really appreciate it.

  2. #2
    Thread Starter
    fresh_kells's Avatar
    Join Date
    Jul 2012
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    fresh_kells's Avatar
    Join Date
    Jul 2012
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Veteran hugo's Avatar
    Join Date
    Aug 2010
    Location
    United Kingdom
    Posts
    310
    Thanks
    13
    Thanked 80 Times in 54 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Widget display not correct and Images size
    By conmark in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: July 8th, 2012, 05:32 AM
  2. Featured Coupons Display
    By harpreet in forum Clipper General Discussion
    Replies: 1
    Last Post: November 27th, 2011, 08:37 AM
  3. [MOD NEEDED] Display featured ads only on the homepage
    By fidij in forum ClassiPress General Discussion
    Replies: 5
    Last Post: September 8th, 2011, 10:03 AM
  4. How to display featured ads in a grid layout
    By jcss in forum ClassiPress General Discussion
    Replies: 3
    Last Post: August 6th, 2011, 06:47 AM
  5. How to display the Images and Headline on another page?
    By TheSyndicate in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: December 26th, 2010, 12:18 AM