Results 1 to 5 of 5

Thread: "Expire in" after hourglass.png

  1. #1
    Thread Starter
    Member maggisam's Avatar
    Join Date
    Feb 2010
    Location
    Reykjavik, Iceland
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

    Unhappy "Expire in" after hourglass.png

    Hi there guys.

    how do you code it such that I get a "Expire in" text right after the hourglass.png and before the expire date on the side panel when viewing a ad.

    I am asuming it is somwhere aroung line 147 in the master.css


    thanks in advance
    maggisam

  2. #2
    Thread Starter
    Member maggisam's Avatar
    Join Date
    Feb 2010
    Location
    Reykjavik, Iceland
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: "Expire in" after hourglass.png

    Hi PEPSI

    I think I put this post in the wrong category.
    Could you please move it to "ClassiPress Theme Support"

    Sincerely
    maggisam

  3. #3
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts

    Re: "Expire in" after hourglass.png

    Since it relates to some code changing I have moved to mods and tutorials. Thanks.

  4. #4
    Thread Starter
    Member maggisam's Avatar
    Join Date
    Feb 2010
    Location
    Reykjavik, Iceland
    Posts
    50
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: "Expire in" after hourglass.png

    Never mind. found out myself...

    Change

    <div id="expires"><?php $get_expires = strtotime(get_post_meta($post->ID, "expires", true)); echo cp_timeleft($get_expires); ?> </div>



    To

    <div id="expires"><font color="Black">Expires in: </font><?php $get_expires = strtotime(get_post_meta($post->ID, "expires", true)); echo cp_timeleft($get_expires); ?> </div>


  5. #5
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts

    Re: "Expire in" after hourglass.png

    Thanks for sharing maggisam

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add "SOLD" to items that are gone
    By tiffany in forum ClassiPress General Discussion
    Replies: 3
    Last Post: May 29th, 2009, 02:32 AM