Listings Extra Info Icons

This topic contains 3 replies, has 3 voices, and was last updated by  Guust 10 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #32080

    Joseph
    Expired Member
    Post count: 12

    Hi there,

    I enquired some time ago about how to add extra info icons into listings, as I need to be able to display in both the search listings and on the listings page which of 3 different discounts an establishment offers (or a combination of the three). This is similar to the search on http://www.tastecard.co.uk in which a user can easily see whether a restaurant offers 50% off or 2 for 1 etc in a listing.

    Can I please have some more info on the easiest way to achieve this?

    Kind regards,
    Joseph

    #32191

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    if you refer to this example: http://wpgeo.directory/restaurants/

    This how to do it:

    1) Go to GD >> Place Settings
    2) Add a Text custom field
    3) Select NUMBER as “Field data type”
    4) Fill all options as requested. (In most I simply put Discount)
    5) Is active YES
    6) Show on listing page : YES
    7) Enable both option for Advance Sort and Filters.

    To make it look like an icon and dd the % sign I added this css in GD >> Design >> Scripts >> Custom css :

    
    
    .geodir_discount:after {
        content: "%";
    }
    .geodir-i-text {
        display: none;
    }
    .geodir_discount {
        background: none repeat scroll 0 0 #000;
        border-radius: 5px;
        color: #fff;
        font-weight: bold;
        text-align: center;
        width: 40px;
    }

    Custom field will only appear in category pages and the detail page. Currently there is no way to make them appear in Search results, other than customizing the search template.

    They can only be filtered by custom fields.

    Thanks

    #32463

    Joseph
    Expired Member
    Post count: 12

    Hi,

    Thanks!

    Is it possible to have this as a search field with the extra search fields addon?

    Regards,
    Joseph

    #32478

    Guust
    Moderator
    Post count: 29970

    Yes, you can add those custom fields to an Advance Search.

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount