celin007
Forum Replies Created
-
Forum: Plugins
In reply to: [Name Directory] Category for Name Directory entriesYes Jeroen , they are both the same. Thanks for the prompt reply.
Best wishes,
CelinForum: Plugins
In reply to: [Name Directory] Category for Name Directory entriesThanks Jeroen. Great plugin and already gave a 5 star review.
Is there anyway we can sort the result in a way that results with keyword in title appear first then with keyword in description appear/ list after that.
Thanks
CelinForum: Plugins
In reply to: [Name Directory] Category for Name Directory entriesThanks Jeroen.
My client wanted to have two categories within the same directory. I have fixed it by adding separate icons next to the title.
Thanks
CelinForum: Plugins
In reply to: [Name Directory] Highlight the search term in results displayedThanks Jeroen for the prompt reply. Yes, it’s a nice to have feature for the plugin. Looking forward for this feature.
Thanks for the great plugin and good luck!
CelinThanks for the quick response.
I would like to share/ send a post from one subsite to another so that it appears as a new post in that subsite.
My understanding is with the Network Posts Extended plugin, I’ll be able to send posts from one subset to another but the post will remain/ show from the original site – the post link with remain with the original site it is created.
Thanks
CelinForum: Plugins
In reply to: [Name Directory] Staying at the top of the search results pageThanks, the issue is fixed by changing the Jump to Name Directory when searching to No.
Great plugin. ThanksIs it possible to include this as a premium addon for the plugin ?
Thanks Tijmen for the quick response.
I included the below code in the function.php of the child theme. But the results remain the same, the results are not sorted based on category.
add_filter( ‘wpsl_store_meta’, ‘custom_store_data’, 25, 25 );
function custom_store_data( $store_meta, $store_id ) {
$terms = wp_get_post_terms( $store_id, ‘wpsl_store_category’ );
$store_meta[‘terms’] = ”;
if ( $terms ) {
if ( !is_wp_error( $terms ) ) {
if ( count( $terms ) > 1 ) {
$location_terms = array();foreach ( $terms as $term ) {
$location_terms[] = $term->name;
}$store_meta[‘terms’] = implode( ‘, ‘, $location_terms );
} else {
$store_meta[‘terms’] = $terms[0]->name;
}
}
}return $store_meta;
}Can you please advice me what values I need to pass in the function add_filter( ‘wpsl_store_meta’, ‘custom_store_data’, 10, 2); in place of 10 and 2. I have 100 stores so how can I pass the values for store ids?
My category ids are 25,24 and 27 for clothing, shoes and watch stores.Thanks for your help.
Kind regards
CelinThanks Tijmen for the quick response.
I included the below code in the function.php of the child theme. But the results remain the same, the results are not sorted based on category.
add_filter( ‘wpsl_store_meta’, ‘custom_store_data’, 25, 25 );
function custom_store_data( $store_meta, $store_id ) {
$terms = wp_get_post_terms( $store_id, ‘wpsl_store_category’ );
$store_meta[‘terms’] = ”;
if ( $terms ) {
if ( !is_wp_error( $terms ) ) {
if ( count( $terms ) > 1 ) {
$location_terms = array();foreach ( $terms as $term ) {
$location_terms[] = $term->name;
}$store_meta[‘terms’] = implode( ‘, ‘, $location_terms );
} else {
$store_meta[‘terms’] = $terms[0]->name;
}
}
}return $store_meta;
}Can you please advice me what values I need to pass in the function add_filter( ‘wpsl_store_meta’, ‘custom_store_data’, 10, 2); in place of 10 and 2. I have 100 stores so how can I pass the values for store ids?
My category ids are 25,24 and 27 for clothing, shoes and watch stores.Thanks for your help.
Kind regards
Celin- This reply was modified 4 years ago by celin007.
Forum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] JSON – variable is null or notThanks Bernhard. You are a genius, I didn’t think that way.
Regards
CelinForum: Plugins
In reply to: [Get Use APIs - JSON Content Importer] JSON – variable is null or notHi Bernhard,
Thanks for the quick response.
Imagine the variable date has value 2/3/2020
The variable {date} will have value for a time period (for example from 1/3/2020 to 20/3/2020). All other times the value will be null.Input – {date:ifNotEmptyAddRight} output is empty
Input – {date:ifNotEmptyAddRight:{date}} output shows 2/3/2020 2/3/2020 (displays twice)I want to display just the date not any text in front or after it.
Is it possible to display just the date if not null?
Thanks for all your help.
Kind Regards
Celin- This reply was modified 4 years, 8 months ago by celin007.