Created
March 15, 2017 17:22
-
-
Save guilhermealveslopes/4cbe45e824208f610aa3a6449da4d1cf to your computer and use it in GitHub Desktop.
Fix S&F result for Avada theme.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Duplicate and edit*/ | |
/avada/search.php +/ /avada/search-filter-results.php | |
remove line 71-74 { | |
$post_timestamp = strtotime($post->post_date); | |
$post_month = date('n', $post_timestamp); | |
$post_year = get_the_date('o'); | |
$current_date = get_the_date('o-n'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment