One of the first things I went to change in ClassiPress 3.0.5 was the way the theme marks posts as being sold. ClassiPress 3.0.5 puts a text comment at the top of the classified ad that says "This item has been sold" that is the same color as the rest of the text, so it doesn't stand out at all.
This is where I wanted to make the change. It was a really simple change, but had dramatic effects. Here is a screenshot of what I was able to do by changing one line of code.
INSTRUCTIONS
Step 1: The first thing you need to do is download the attached image (sold_stamp.gif) to your local computer somewhere you can find it later.
Step 2: Make a backup copy of "classipress/single-ad-listing.php"
Step 3: Find this code in the single-ad-listing.php file.
Code:
<li id="cp_sold"><span><?php _e('This item has been sold', 'appthemes'); ?></span></li>
Step 4: Replace the code above with this code and save the file.
Step 5: Upload the single-ad-listing.php file to your classipress root folder.
Step 6: Upload the sold_stamp.gif file to "/wp-content/themes/classipress/images/" folder.
Now, every ad you or your members mark as sold will have the sold stamp at the top of the listing.
Hope everyone enjoys this... I am still working on a way to ad a "sold" icon that can be seen when not viewing the complete ad, like when you are browsing a category. I think this will be helpful as well.
Last edited by pepsi; November 17th, 2010 at 04:46 PM.