how to show state name and city name in single listing page

Home Forums WordPress Theme CityBook – Directory & Listing WordPress Theme how to show state name and city name in single listing page

This topic contains 49 replies, has 2 voices, and was last updated by  Magdaleine 8 hours, 9 minutes ago.

Viewing 25 posts - 26 through 50 (of 50 total)
  • Author
    Posts
  • #38436

    Magdaleine
    Participant

    Supported

    i want to change font weight and color of search catagory but not a sub catagory. see below screenshot

    https://prnt.sc/q0951l

    #38447

    CTHthemes
    Keymaster

    Try this code

    
    .main-search-input-item .nice-select .list li {
        font-size: 13px;
        font-weight: 700;
    }
    
    #38453

    Magdaleine
    Participant

    Supported

    i want to change font weight and color of only search catagory but not a sub catagory.
    ex-
    ACCESSORIES
    -DOG ACCESSORIES
    -CAT ACCESSORIES

    I WANT ONLY CHANGE FONT COLOR ACCESSORIES but NOT SUBCATAGORY DOG ACCESSORIES and CAT ACCESSORIES.
    please sir solve this problem as soon as

    #38463

    Magdaleine
    Participant

    Supported

    when i add listing , i click open all day . see screenshot below

    https://prnt.sc/q0v3lj

    but show on front end , shop are now closed. see screenshot below

    https://prnt.sc/q0v40u

    when i click open all day thats mean shop should be always open . please dont tell me , going on monday , tuesday, wednesday and click open all day. i want user click on open all day onetime and shop should be open everyday

    please sir solve my problem

    #38464

    Magdaleine
    Participant

    Supported

    please reply sir

    #38497

    CTHthemes
    Keymaster

    i want to change font weight and color of only search catagory but not a sub catagory.
    ex-
    ACCESSORIES
    -DOG ACCESSORIES
    -CAT ACCESSORIES

    I WANT ONLY CHANGE FONT COLOR ACCESSORIES but NOT SUBCATAGORY DOG ACCESSORIES and CAT ACCESSORIES.
    please sir solve this problem as soon as

    —-> It’s not possible. There is no sub css-selector for changing main category only.

    #38498

    CTHthemes
    Keymaster

    when i add listing , i click open all day . see screenshot below

    https://prnt.sc/q0v3lj

    but show on front end , shop are now closed. see screenshot below

    https://prnt.sc/q0v40u

    –> I’ve checked Open all day for Monday and Tuesday then It’s working: https://prnt.sc/q2358o So check it again.

    when i click open all day thats mean shop should be always open . please dont tell me , going on monday , tuesday, wednesday and click open all day. i want user click on open all day onetime and shop should be open everyday
    –> It’s not possible.

    #38649

    Magdaleine
    Participant

    Supported

    hello sir, auto location field is not working . see screenshot below
    https://prnt.sc/q4cxqn
    https://prnt.sc/q4cyb7

    and please tell me where add zip code on submit listing page..

    sir please reply me .and solve my problem

    #38653

    Magdaleine
    Participant

    Supported

    sir please reply. why are you not reply me?

    #38665

    CTHthemes
    Keymaster

    1 – Please make sure that all required services are enabled: https://prnt.sc/q4v2u8
    and billing is setup for your key

    2 – You can use custom listing field

    #38673

    Magdaleine
    Participant

    Supported

    i want to search my listing by custom field. tell me how to do it

    #38688

    CTHthemes
    Keymaster

    Check these topic: https://support.cththemes.com/?topic=some-questions-about-your-excellent-theme/#post-33494
    https://support.cththemes.com/?topic=few-questions-about-easybook-6/#post-36241

    #38697

    Magdaleine
    Participant

    Supported

    i did not understand. sir i add custom field(postal code). now i want to search my listing using custom field(postal code). see screenshot below.
    http://prnt.sc/q5fr6e

    i want to this type, when user search listing using postal code field , then show the related listing .

    see my add custom field name: https://prnt.sc/q5fvk6

    tell me how to do it?
    please sir reply me fast

    • This reply was modified 5 days, 17 hours ago by  Magdaleine.
    #38700

    CTHthemes
    Keymaster

    Or use RAW HTML element to add this text <input type="text" name="postal_code" placeholder="Postal code to search">

    add the code bellow to your child theme functions.php file:

    
    add_filter( 'citybook_addons_ajax_search_args', function($post_args){
            if(isset($_POST['postal_code']) && !empty($_POST['postal_code'])){
                if(!isset($post_args['meta_query'])){
                    $post_args['meta_query'] = array(
                        'key'       => ESB_META_PREFIX.'cus_field_a0pfawjdo',
                        'value'     => $_POST['postal_code'],
                        
                    );
                }else{
                    $post_args['meta_query'][] = array(
                        'key'       => ESB_META_PREFIX.'cus_field_a0pfawjdo',
                        'value'     => $_POST['postal_code'],
                        
                    );
                }
            }
            return $post_args;
        } );
    
    
    #38705

    Magdaleine
    Participant

    Supported

    it is not working.
    first of all i add this code
    <input type=”text” name=”postal_code” placeholder=”Postal code to search”>
    in filter under default listing type. see screenshot below.
    https://prnt.sc/q5mog0

    after that i add code

    add_filter( ‘citybook_addons_ajax_search_args’, function($post_args){
    if(isset($_POST[‘postal_code’]) && !empty($_POST[‘postal_code’])){
    if(!isset($post_args[‘meta_query’])){
    $post_args[‘meta_query’] = array(
    ‘key’ => ESB_META_PREFIX.’cus_field_a0pfawjdo’,
    ‘value’ => $_POST[‘postal_code’],

    );
    }else{
    $post_args[‘meta_query’][] = array(
    ‘key’ => ESB_META_PREFIX.’cus_field_a0pfawjdo’,
    ‘value’ => $_POST[‘postal_code’],

    );
    }
    }
    return $post_args;
    } );

    in child theme functions.php file.

    see screenshot below:
    https://prnt.sc/q5mpr3

    but it is not working
    please check, my postal code is 50321, 1067 SP , 1181 ZN and more
    http://boodletech.com/listing/

    sir please check immediately

    #38707

    Magdaleine
    Participant

    Supported

    please reply me as soon as

    #38716

    CTHthemes
    Keymaster

    Hello, this is customization question so you have to check it by yourself.

    #38720

    Magdaleine
    Participant

    Supported

    sir please solve my issue.

    and i want to upload few listing automatically .
    so you can send me csv format, by which i can upload listing .
    please sir , i request you , solve my problem as soon as

    #38724

    Magdaleine
    Participant

    Supported

    SIR LOCATION FIELD IS ALSO NOT WORKING. SEE SCREENSHOT BELOW:
    https://prnt.sc/q5z3cu

    SITE-URL: http://boodletech.com/listing/

    #38725

    Magdaleine
    Participant

    Supported

    i am so disappointed to buy this theme. search field is not working. i want to search my listing using custom field , and search my listing using address field. but it is not working.

    #38734

    Magdaleine
    Participant

    Supported

    SIR PLEASE, I REQUEST YOU, SOLVE MY ISSUE

    #38737

    Magdaleine
    Participant

    Supported

    what happened sir? please reply

    #38740

    Magdaleine
    Participant

    Supported

    can you send me video, how to use custom field for filter

    #38743

    Magdaleine
    Participant

    Supported

    sir why are you not reply me . please solve my issue
    location field filter and custom filed filter is also not working.
    tell me, what is solution of this problem

    #38761

    Magdaleine
    Participant

    Supported

    hello sir, i requested you please help me. i want to search my listing using custom field (postal code). please sir solve my problem. if you want extra chagres so i am ready for pay. but sir solve my issue. please reply me

Viewing 25 posts - 26 through 50 (of 50 total)

You must be logged in to reply to this topic.

New featues: CityBook - Listing & Directory WordPress Theme version 2.1.8 was outUpdate now
+