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
// Inspired by : https://www.relevanssi.com/knowledge-base/natural-language-date-queries/?replytocom=264649#respond | |
add_filter('relevanssi_modify_wp_query', 'rlv_date_query'); | |
function rlv_date_query($query) | |
{ | |
if (substr($query->query_vars['s'], 0, 10) === "published:") { | |
// Remove "published:" from search string. | |
$query->query_vars['s'] = substr($query->query_vars['s'], 10); | |
// If The query string is a year... (We check that it's an integer between 1900 and current year) |
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
containers: | |
java: | |
- name: java_backup | |
ssh: java:2222 | |
passwordFile: /home/jlafleur/minecraft/java/.rcon-cli.yaml | |
worlds: | |
- /data/world | |
extras: | |
- /data/logs | |
- /data/mods |
OlderNewer