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
{ | |
"id": 0, | |
"revision": 0, | |
"changes": "", | |
"content": "{\"plugin\":\"rows\",\"state\":[{\"plugin\":\"text\",\"state\":[{\"type\":\"p\",\"children\":[{\"text\":\"ExGroup Task\"}]}],\"id\":\"415b5666-b38a-43e6-b3ae-2965dc6e9ae2\"}],\"id\":\"b480e34f-9a7f-4f33-b8fd-5f6eeaa869d5\"}", | |
"cohesive": false, | |
"grouped-text-exercise": [ | |
{ | |
"id": 0, | |
"revision": 0, |
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
//until the bug gets fixed this kinda works | |
document.addEventListener("DOMContentLoaded", function() { | |
setTimeout(setupSearchFix, 1200); | |
}); | |
function setupSearchFix(){ | |
var if( $('.sqs-search-page .sqs-search-page-input input').length === 0 ) return; | |
console.log('squarespace search-fix'); |
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
<?php | |
//helper in functions.php | |
function my_get_facet_vars(){ | |
$vars = []; | |
foreach ($_GET as $key => $value) { | |
$pos = strpos($key, 'fwp_'); | |
if ($pos == 0) { | |
$key = str_replace("fwp_", "", $key); | |
$vars[$key] = $value; |