move Drop Files to upload box to the top in add listing

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

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

Open Support Ticket
  • Author
    Posts
  • #210334

    Andres
    Free User
    Post count: 15

    i need to move the “Drop Files to upload” box to the top before “Enter Listing Details” like in the picture attached I did it in inspect elements, how can I do it ?

    #210493

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    there is no option to do that, it would require a customization.

    Thank you,

    #210496

    Andres
    Free User
    Post count: 15

    how can i customize it ?

    #210526

    Paolo
    Site Admin
    Post count: 31211

    There is no easy way to do this, it requires to modify the code of the add listing page.

    Please read the support policy, customizations are beyond support.

    If this is mandatory for your website, you will need to hire a freelance developer to help you out-

    Thank you

    #211763

    Andres
    Free User
    Post count: 15
    This reply has been marked as private.
    #211769

    Andres
    Free User
    Post count: 15
    This reply has been marked as private.
    #212315

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I asked to a developer to follow up with you.

    Thanks

    #212368

    Giri
    Expired Member
    Post count: 3155

    Hi there,

    The code can be found in in this file

    wp-content/plugins/geodirectory/geodirectory_template_actions.php

    Function: geodir_action_add_listing_form()

    See around line number 2400. There is no easy way to do this without duplicating huge chunk of code.

    Duplicate the code only if it is mandatory.

    Here are the steps. Us the following code in your child theme

    
    
    remove_action('geodir_add_listing_form', 'geodir_action_add_listing_form', 10);
    add_action('geodir_add_listing_form', 'geodir_action_add_listing_form_modified', 10);
    function geodir_action_add_listing_form_modified() {
         //your modified code goes here
    }
    
    
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