Results 1 to 2 of 2

Thread: Childtheme - timeleft on the listing page classipress - cp_timeleft

  1. #1
    Thread Starter
    Junior Member redixus's Avatar
    Join Date
    Apr 2011
    Location
    Poland
    Posts
    22
    Thanks
    2
    Thanked 5 Times in 3 Posts

    Childtheme - timeleft on the listing page classipress - cp_timeleft

    What code i should put nto my child theme in: loop-ad_listing.php

    when i putting:
    <?php echo cp_timeleft( strtotime( get_post_meta( $post->ID, 'expires', true ) ) ); ?>

    In the list of classifieds showing that ad has expired

    but when enter inside of single ad it showing good for example: 2 day 4 hours left

    Any one can help me?

  2. #2
    Thread Starter
    Junior Member redixus's Avatar
    Join Date
    Apr 2011
    Location
    Poland
    Posts
    22
    Thanks
    2
    Thanked 5 Times in 3 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. [SOLVED] Creating a childtheme
    By samcy in forum ClassiPress General Discussion
    Replies: 5
    Last Post: April 18th, 2012, 05:03 PM
  2. [SOLVED] Creating my first Childtheme
    By Cordeiro in forum ClassiPress General Discussion
    Replies: 5
    Last Post: January 26th, 2012, 06:02 PM
  3. New childtheme - for your consideration
    By rubencio in forum Showcase & Feedback
    Replies: 11
    Last Post: December 18th, 2010, 01:52 AM
  4. Childtheme & functions
    By aqua in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: August 9th, 2010, 11:34 AM