How to Add Category To Listing

This topic contains 8 replies, has 3 voices, and was last updated by  Paolo 9 years, 8 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #48033

    Dylan
    Expired Member
    Post count: 40

    I’ve read through quite a bit of the forum to see if this has been covered, but I wasn’t able to find it. I’m looking to replace the Description from a listing with the Category/Categories of that listing.

    I’ve included a screenshot below. In the example, I’m trying to replace “This is where the description goes” with the Category/Categories of that listing.

    I’m trying to find the code that is feeding this, so that it can be modified.

    Thanks in advance for any help you can provide.

    #48042

    Guust
    Moderator
    Post count: 29970

    GD > Place settings > custom fields > category field > show on listing page > YES.
    https://wpgeodirectory.com/docs/core-place-settings/#common

    #48082

    Dylan
    Expired Member
    Post count: 40

    Thanks Guust for the quick fix. I’ve been all over the Category Fields area, but didn’t know that option was available.
    Is there also a relatively easy way to move the “Star Rating,” “# of Reviews,”and “Favorite” underneath the Category Section? – (See attachment)

    #48134

    Guust
    Moderator
    Post count: 29970

    Do you only want to stop it from showing there?
    Or do you want to remove ability for users to review and favorite?
    We’d need your URL and admin details (in a private reply).

    #48557

    Dylan
    Expired Member
    Post count: 40

    Guust,

    We’re just like to move it within the template.
    “Is there also a relatively easy way to move the “Star Rating,” “# of Reviews,”and “Favorite” underneath the Category Section?”

    It’s just moving the location within the Popular Trucks List View Widget. I’ve read some posts about how you can change the order of the load order on the functions.php file, but was trying to see what hooks are pulling the information.

    Thanks

    #48609

    Guust
    Moderator
    Post count: 29970

    Right “move”, not “remove” 🙁 my bad.
    I’ll check if that is possible.

    #48689

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    this in GeoDirectory >> deisgn >> scripts >> css

    
    
    .geodir_category_list_view li .geodir-addinfo {
        float: left;
        width: 43%;
    }

    Should do it.

    Let us know,

    Thanks

    p.s. it will move the pinpoint too, all elements are within the same div.

    #48993

    Dylan
    Expired Member
    Post count: 40

    This worked after adding !important after each item.

    Thanks!

    #48997

    Paolo
    Site Admin
    Post count: 31211

    You are welcome!

Viewing 9 posts - 1 through 9 (of 9 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