documented the url call in js script

This commit is contained in:
jorge-vitrubio 2024-02-25 14:28:11 +01:00
parent e6277a5e89
commit 2bc7c46f3f
3 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ if( ! function_exists( 'xarxaprod_ajuts_filters_form') ) {
$('#archive-filters').on('click', 'input', function(){
// vars
var url = '<?php echo home_url('ajuts/'); ?>';
var url = '<?php echo home_url('ajuts/'); ?>'; //insert the custom-post-type slug
args = {};
var appendtoURL = '';
var eachfiltered = '';

View File

@ -109,7 +109,7 @@ if( ! function_exists( 'xarxaprod_associats_filters_form') ) {
$('#archive-filters').on('click', 'input', function(){
// vars
var url = '<?php echo home_url('associats/'); ?>';
var url = '<?php echo home_url('associat/'); ?>'; //insert the custom-post-type slug
args = {};
var appendtoURL = '';
var eachfiltered = '';

View File

@ -109,7 +109,7 @@ if( ! function_exists( 'xarxaprod_convos_filters_form') ) {
$('#archive-filters').on('click', 'input', function(){
// vars
var url = '<?php echo home_url('convos/'); ?>';
var url = '<?php echo home_url('convos/'); ?>'; //insert the custom-post-type slug
args = {};
var appendtoURL = '';
var eachfiltered = '';