Adding new form field "Image Selector" on "Add Listing page"

This topic contains 4 replies, has 3 voices, and was last updated by  Alex Rollin 4 years, 10 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #524645

    rhsvpninfotech
    Free User
    Post count: 1

    I would like to add a new form field “Image Selector” on the “Add Listing Page” instead of “Image Selector or File Upload”. Could you please suggest to me how should I deal with this modification? In which plugin files I have to modify for this implementation? Is there any way If I can able to add a new form field “Image Selector” via shortcode in “Custom Fields”?

    #524654

    Kor
    Moderator
    Post count: 16516

    Hi rhsvpninfotech,

    Thanks for your post. Are you saying you wish to insert a custom “Image Selector” from a 3rd party plugin into the Add listing page? Please clarify.

    Thanks!

    #524672

    Alex Rollin
    Moderator
    Post count: 27815

    So, can you explain how the field works?

    Maybe you want to show a certain image based on what the user selects?

    One way to do that is to add a select field. With options like “apple,orange”

    When a user select orang, you can use a badge to show a picture of an orange.

    It works just like this example for the featured field.

    https://wpgeodirectory.com/docs-v2/geodirectory/featured-listings/

    #524743

    rhsvpninfotech
    Free User
    Post count: 1

    Thanks for the reply. Let me explain to you how the field “Image Selector” works. Admin will few amounts of images from the admin panel. These images will show on the page “Add Listing”. Users will be able to select those images (Multiple Images Selection) and submit the listing. Could you please check given below screenshot link:

    https://prnt.sc/ql4jti

    #524752

    Alex Rollin
    Moderator
    Post count: 27815

    No, there isn’t a field type exactly like that. You could display those images on the frontend using the method I mentioned, but not in the form.

    If you want to customize a solution you can create a new field type.

    https://wpgeodirectory.com/custom-field-improvements-in-new-v1-6-6/

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