Add custom fields to shortcode builder

This topic contains 7 replies, has 3 voices, and was last updated by  Paolo 6 years, 1 month ago.

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

Open Support Ticket
  • Author
    Posts
  • #449835

    Nick Gardener
    Expired Member
    Post count: 101

    Can you add custom fields to the shortcode builder? So can can eg show all listings where custom_checkbox_field = value?

    #449849

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Hi Nick,

    I’m not exactly sure what u mean, this to me sounds like an advanced search option you would add to show all listings with a specific custom field value?

    Stiofan

    #449953

    Nick Gardener
    Expired Member
    Post count: 101

    Yes I guess so. The shortcode builder in v2 is so great, and it would be supremely enhanced by this functionality. If so once can use it to build complex pages. Without it, I think i’m right in saying that we need a whole php template, right?

    #450276

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I still really have no idea what exactly you mean, you could mean many different things, please explain more what you want to achieve and i can tell you if it can be done or not.

    Thanks,

    Stiofan

    #450280

    Nick Gardener
    Expired Member
    Post count: 101

    I have a place type.
    It has a custom field of type ‘checkbox’ called “animals”.
    The “animals” checkbox has four options: cats, dogs, fish, monkeys.

    I’d like to show a paginated grid of places where “animals” = “monkeys”.

    Right now I don’t much care if it’s shortcode or php, I’d just like to know how to do it.

    Long term, I’d love it to be a shortcode option.

    Is that clearer?

    #450324

    Paolo
    Site Admin
    Post count: 31206

    You can do that with tags and categories, but not with custom fields.

    Thanks

    #450327

    Nick Gardener
    Expired Member
    Post count: 101

    So is there NO WAY to do it? Or we must use a custom query?

    #450331

    Paolo
    Site Admin
    Post count: 31206

    I already answered that.

    You can do that with tags and categories, but not with custom fields.

    If you want to do it by custom field (which we only use as advance search parameters) it will require a customization.

    Thank you

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