documented the url call in js script
This commit is contained in:
parent
e6277a5e89
commit
2bc7c46f3f
|
@ -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 = '';
|
||||
|
|
|
@ -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 = '';
|
||||
|
|
|
@ -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 = '';
|
||||
|
|
Loading…
Reference in New Issue