Results 1 to 2 of 2

Thread: Is it possible to have fields other than "Description" displayed in the ad previews o

  1. #1
    Thread Starter
    Amateur mlfph's Avatar
    Join Date
    Dec 2011
    Location
    Ireland
    Posts
    12
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Is it possible to have fields other than "Description" displayed in the ad previews o

    Currently, the ad previews on the homepage display the Description field as entered by the user. However, I'd like to display information from a number of other fields. I've tried to illustrate the effect I'm hoping to achieve in the image below. On the right is as it is now; on the left is what I want.

    classipress.jpg


    The closest I've found in the forums is this thread which shows how to reduce the size of the previews. The code which refers to the Description in the ad preview seems to be the following:
    Code:
    <p class="descr"><?php echo substr(strip_tags($post->post_content), 0, 200)."...";?></p>
    However, the thread says this code lies in index-directory.php or index-standard.php, but I can't seem to find either file. That thread is around 18 months old, so perhaps the filenames have changed since?

    Would really appreciate anyone's assistance with this.

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,832
    Thanks
    166
    Thanked 3,395 Times in 3,266 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: October 10th, 2011, 07:43 AM
  2. Replies: 1
    Last Post: October 10th, 2011, 07:34 AM
  3. Replies: 4
    Last Post: September 7th, 2011, 04:17 PM
  4. Insert "Description" field in between "main-pic" & thumbs-pic"
    By appouser in forum ClassiPress General Discussion
    Replies: 3
    Last Post: August 3rd, 2011, 04:10 PM
  5. [MOD NEEDED] Profile Page Description "html" instead of "text"
    By markrudh in forum ClassiPress General Discussion
    Replies: 5
    Last Post: June 5th, 2011, 12:58 AM