This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Display 'Posts to date' filter

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11669
    AndamAndam
    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

    #11675
    Ernest MarcinkoErnest 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:

    [php]$_dft_v = $_dff[‘date’];[/php]

    to this:

    [php]$_dft_v = $_dft[‘date’];[/php]

    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 🙂

    #11688
    AndamAndam
    Participant

    Great thanks!!
    Best Regards
    Mike

    #11689
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Display 'Posts to date' filter’ is closed to new replies.