cari18
Forum Replies Created
-
Forum: Plugins
In reply to: [Materialis Companion] Erroor last updateIt ok now
Forum: Plugins
In reply to: [Force Login] Google indexingThank you Kevin for your answer.
Yes its a private site BUT I would that users that don’t remenber how to reach the loging page (URL)could find it with a search in Google by typing the site name.
Is there a way to do so ?Forum: Plugins
In reply to: [Force Login] Contact form in a whitelisted pageSure already done !
Forum: Plugins
In reply to: [Force Login] Contact form in a whitelisted pageI mark the point as resolved
Forum: Plugins
In reply to: [Force Login] Contact form in a whitelisted pageThank a lot Kevin! It works well
YOU ARE GREAT !!!
Its incredible you support me so efficiently
Take careForum: Plugins
In reply to: [Force Login] Contact form in a whitelisted pageThank you Kevin for answer.
The contact form would normaly answer by a thank you line at the bottom of the current page, under the formMy public page is : https://sitesdu.fr/les-anciens-de-nestle/
Here is what I tried :
function my_forcelogin_bypass( $bypass ) {
if ( is_page(‘sitesdu.fr/wp-json/contact-form-7/v1/contact-forms/2737/feedback’) ) {
$bypass = true;
}
return $bypass;
}
add_filter( ‘v_forcelogin_bypass’, ‘my_forcelogin_bypass’ );/**
* Filter Force Login to allow exceptions for specific URLs.
*
* @param array $whitelist An array of URLs. Must be absolute.
* @return array
*/
function my_forcelogin_whitelist( $whitelist ) {
$whitelist[] = home_url( ‘/privacy-policy/’ );
$whitelist[] = home_url( ‘/les-anciens-de-nestle/’ );
$whitelist[] = home_url( ‘/wp-json/contact-form-7/v1/contact-forms/2737/feedback/’ );
return $whitelist;
}
add_filter( ‘v_forcelogin_whitelist’, ‘my_forcelogin_whitelist’ );And it still don’t work
I’m Sorry but Unfortunately I’m not very comfortable with coding!Forum: Plugins
In reply to: [Force Login] Compatibility with WPS Hide LoginSo it seems to be a stupid question.
Sorry Kevin I’m just starting with WordPress
CB