morzar
Forum Replies Created
-
Forum: Plugins
In reply to: [Participants Database] Hide data from search engines??That I know, but google crawled this URL
https://www.mywebsite.com/categorie/profils/
I cannot hide a category, so what am I supposed to do?
Many thanks for the quick answer!Forum: Plugins
In reply to: [Service Area Postcode Checker] Cannot translate “Postcode not found”you are very great sir, let me rate your plugin 5 star
OK I found a way to do it myself, in JS:
jQuery(function(){ jQuery( window ).scroll(function() { jQuery( "#popmake-ID" ).popmake('close'); }); });
#popmake-ID being the ID of the popup you want to close on scroll.
- This reply was modified 5 years, 10 months ago by morzar.
Forum: Fixing WordPress
In reply to: Category pluginThanks for all you answers,
True there’s many ways to do it, the fact that my text should stay editable tends to use the category description…
Something like “if category description = true” then show message. If empty, show nothing. I might try this way!
OK so for people interested, this is how you make it happen:
in password-protected.php
Find this line:
if ( isset( $_GET['password-protected'] ) ) { $is_active = true; }
(around line 130)
ADD THIS:
if ( isset( $_GET['pwd'] ) && $_GET['pwd'] == 'yourpassword' ) { $this->set_auth_cookie(); return false; }
then you have
return $is_active;
It will write a cookie so you can keep on browsing the whole website without being kicked out. Cookie expires after 14 days.
This topic interests me as well! Answer please?