ateicos
Forum Replies Created
-
Hi, today it doesn’t work anymore.
I will edit again with custom php code.
[code]`if ( $_SERVER['REQUEST_URI'] != '/' ) {
$where = ( count($conditions) > 0 ) ? " WHERE " . implode ( " AND ", $conditions ):'';
} else {
$where = ( count($conditions) > 0 ) ? " WHERE event_start_date >= now() AND " . implode ( " AND ", $conditions ):'';
}`[/code]- This reply was modified 3 years, 8 months ago by ateicos.
In “public static function get_default_search(” there isn’t a “scope” check even if it’s passed by var $array_or_default
For now i’ve fix this bug with this code on line 235
$where = ( count($conditions) > 0 ) ? ” WHERE event_start_date >= now() AND ” . implode ( ” AND “, $conditions ):”;- This reply was modified 3 years, 11 months ago by ateicos.
There is a way to find the bug?
It works with default theme “twenty twenty”.
It don’t works with another theme: “newslite”.
I have to find a good theme cause of I don’t like “twenty twenty”.
Thank you so much.