Querying custom fields

Discussion in 'ClassiCraft WordPress Theme' started by imranite, Apr 23, 2016.

  1. imranite

    imranite Member

    Joined:
    Jul 5, 2013
    Messages:
    54
    Likes Received:
    1
    Hi,

    When visitors fill in the area shown in the screenshot 1,
    how can I make the search form to query the custom field known as 'LGA' ?
    At the moment, it appears to be querying the field called 'State'.
    Perhaps you can show me where to make this change.

    Also, I will like to change the area in the screenshot1 into a drop down menu to display
    the option values in the LGA custom field (see screenshot2). The option values are Local government areas (LGAs) and I want visitors to select an appropriate the local government areas to do their search.

    Look forward to your reply.

    Thanks.

    Imran
     

    Attached Files:

  2. imranite

    imranite Member

    Joined:
    Jul 5, 2013
    Messages:
    54
    Likes Received:
    1
    Dear support, can I please get a reply to this enquiry.

    Thank you.
     
  3. priya

    priya Guest

    Hello Imran,

    Greetings from InkThemes!

    You can change that text from "template_path.php" file of your theme, please follow the screenshot given below...

    replace_search_text.png

    For your information, I am using "WP-Editor" plugin to edit files.

    You can also download and use it from the link https://wordpress.org/plugins/wp-editor/.

    After activating this plugin, you will get the same screen as shown in the screenshot.

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  4. imranite

    imranite Member

    Joined:
    Jul 5, 2013
    Messages:
    54
    Likes Received:
    1
    Hi,

    (1) I made the change already but my problem is that the form is not giving me results according to the local government areas I included in the LGA custom field that I created. Please read my explanation above again and also kindly see screenshot 2

    My second question is:


    (2) I will like to change the area in the screenshot1 into a drop down menu to display
    the option values in the LGA custom field (see screenshot2). The option values are Local government areas (LGAs) and
    I want visitors to select an appropriate the local government areas to do their search.

    Look forward to your reply.

    Thank you.

    Imran
     
  5. Naveen

    Naveen Guest

    Joined:
    Aug 8, 2014
    Messages:
    1,739
    Likes Received:
    64
    Hi,

    For your information, the custom field configuration won't appear in that search form. You can see the custom field LGA in the Address/State field of the Ad listing submission form.

    If you would like to allow your users to search the ads on the basis of LGA drop-down list then, it will require some source code customization in the theme.

    Warm Regards!
    Naveen Kolhe
    InkThemes.com
     
  6. imranite

    imranite Member

    Joined:
    Jul 5, 2013
    Messages:
    54
    Likes Received:
    1
    Hi,

    Please show me how to remove the search form from all my pages.
    It's not working the way I want it and so I need to remove it entirely.

    I look forward to your reply.

    Thank you.

    Im
     
  7. imranite

    imranite Member

    Joined:
    Jul 5, 2013
    Messages:
    54
    Likes Received:
    1
    Hi Priyanka,

    Kindly reply above post.

    Thank you.

    Imran
     
  8. priya

    priya Guest

Share This Page