This topic is: resolved

Sort listing

  • carrent
    Participant
    Post count: 17
    # 5 months, 2 weeks ago

    Hi. I have a problem!

    I do not understand how to sort auto models on the page: https://carrent.kz/add-new-listing/ ? Look attachments.

    Attachments:
    You must be logged in to view attached files.
    AuthorAuthor
    Keymaster
    Post count: 26628
    # 5 months, 2 weeks ago

    Hi there

    I have assigned this thread to my developer and he will be assisting you soon.

    Thanks

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 5 months, 2 weeks ago

    Hello

    You need to edit template-add-listing.php file near line# 595.
    add
    sort($values);
    before
    foreach($values as $value)

    Thanks

    carrent
    Participant
    Post count: 17
    # 5 months, 2 weeks ago

    Hi

    I can not find

    which way?

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 5 months, 2 weeks ago

    Please provide WP Credentials with admin URL in private reply, so that i could update code at your server.

    Thanks

    carrent
    Participant
    Post count: 17
    # 5 months, 2 weeks ago

    Nitin, write me your mail

    AuthorAuthor
    Keymaster
    Post count: 26628
    # 5 months, 1 week ago

    @carrent You can post the required info here in a private reply https://d.pr/i/5ddfS which is private for you and @nitin only. Thanks

    carrent
    Participant
    Post count: 17
    # 5 months, 1 week ago
    This reply has been marked as private.
    AuthorAuthor
    Keymaster
    Post count: 26628
    # 5 months, 1 week ago

    @nitin Please follow up on this. Thanks

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 5 months, 1 week ago

    Hello

    Thanks for the details.
    Please replace below file in theme folder, as WP editor is not working for me.
    https://d.pr/f/GvVRqe

    Thanks

    carrent
    Participant
    Post count: 17
    # 5 months ago

    helped by 1 time. again the same problem
    https://carrent.kz/add-new-listing/

    AuthorAuthor
    Keymaster
    Post count: 26628
    # 5 months ago

    @nitin Can you please follow up on this? Thanks

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 5 months ago

    Hello

    Could you please make sure that above given details are of administrator? as i am not able to access dashboard.

    Thanks

    carrent
    Participant
    Post count: 17
    # 4 months, 2 weeks ago
    This reply has been marked as private.
    carrent
    Participant
    Post count: 17
    # 4 months, 2 weeks ago

    Hi, help me please (

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 4 months, 2 weeks ago

    Hello

    I can see that field is already sort by alphabetically, have you added that code again?

    Thanks

    carrent
    Participant
    Post count: 17
    # 4 months, 2 weeks ago

    Hello. Yes, added code again (

    carrent
    Participant
    Post count: 17
    # 4 months, 1 week ago

    what should I do?

    AuthorAuthor
    Keymaster
    Post count: 26628
    # 4 months, 1 week ago

    @nitin Please follow up on this. Thanks

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 4 months, 1 week ago

    Hello @carrent

    Please let me know if sort functionality is not working fine and what would you like to have instead of that.

    Thanks

    carrent
    Participant
    Post count: 17
    # 4 months, 1 week ago

    Hello, look on the screen

    sort functionality is not working fine

    what should I do?

    Attachments:
    You must be logged in to view attached files.
    AuthorAuthor
    Keymaster
    Post count: 26628
    # 4 months, 1 week ago

    @nitin Please follow up on this. Thanks

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 4 months, 1 week ago

    Hello

    Please check, i have modified the code. You just need to insert template-add-listing.php in child theme folder.

    Thanks

    carrent
    Participant
    Post count: 17
    # 4 months ago

    Hello.

    Ssory, where can i find the file template-add-listing.php ?

    Nitin SharmaNitin Sharma
    Moderator
    Post count: 10324
    # 4 months ago

    Hello

    You just need to use child theme and place parent’s theme template-add-listing.php file to child theme folder.

    Thanks

Viewing 25 posts - 1 through 25 (of 25 total)

You must be logged in to reply to this topic.