Display 'Posts to date' filter

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Display 'Posts to date' filter

This topic contains 3 replies, has 2 voices, and was last updated by  Ernest Marcinko 1 year, 5 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11669

    Andam
    Participant

    Hi,
    The “Display 'Posts to date' filter” is set to 1.1.2016 permanently and adjustments do not shown at front end even they do show at the backend
    Tried disableing all other plugins etc.
    Best would be, having an option to set the date of today automaticaly.

    Other than that great plugin!!
    Regards
    A

    Attachments:
    You must be logged in to view attached files.
    #11675

    Ernest Marcinko
    Keymaster

    Hi,

    It's a known minor bug, where the “Posts to date” filter shows the same value as the “Posts from date”, caused by a syntax error in the code. It's going to be fixed within the next release of course.

    If you want, you can fix it by opening the wp-content\plugins\ajax-search-pro\includes\views\asp.shortcode.date_filters.php file on your server, and changing line 28 from this:

    $_dft_v = $_dff['date'];

    to this:

    $_dft_v = $_dft['date'];

    That will solve the bug.

    Also, to select the current date, just use the Relative Date option instead of the Date: https://i.imgur.com/4lFEPKC.png
    If all values are set to 0, it will show the current date 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #11688

    Andam
    Participant

    Great thanks!!
    Best Regards
    Mike

    #11689

    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


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

The topic ‘Display 'Posts to date' filter’ is closed to new replies.