nicleg
Forum Replies Created
-
Forum: Plugins
In reply to: [Frontend Reset Password] ERROR: key not found!Tick error seems coming from the ‘get_password_reset_key’ which returns the this user is not allowed to change his password.
And I think it’s coming from the fact that I installed differents plugins before to test then. I remenber one , with a settings like : “allow user to reset password”.
I understood this way there a variable for each user to allow or not the user to reset his pwd.
Then while searching I’ve found :
https://developer.wordpress.org/reference/hooks/allow_password_reset/
It still confuse to me but I read and dig.Hi Alexis,
Thank you for your answer.I will try to do it “without plugin” and a scenario in SIB dashboard.
Regard,
NicolasHi and thank you for your answer.
I don’t want re-captcha from google, i would like to use hCaptcha :
https://www.hcaptcha.comhCaptcha doesn’t use cookie needed RGPD validation.
That’s why I was looking for either a hook wordpress (after SIB form validation, before sending ) or a way to override javascript sib’ form validation.
Regards,
Nicolas.Forum: Plugins
In reply to: [Relevanssi - A Better Search] Titles on cpt won’t appearThank you for your wonderfull replys !
Nicolas.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Titles on cpt won’t appearHi,
thanks for trying to help me.while answering to you I notice after 2 hours that I had a (another) pre_get_post specific for the search ;(.
After desactive it, the search looks working as expected and really well with several words too. So cool ! Thank you for your answser wich helping me a lot to define/solve the problem.I paste my
pre_get_post
for the search who “block” the relevanssi, and I have a question : Does that means I can’t use a pre_get_post function for the search (at least, ordering the returned posts list by a taxonomy called ‘start-date’).Thank you !
Nicolas.function pre_get_posts_search( $query ) { if ( ! is_admin() && $query->is_search() ) : $searchTerm = sanitize_text_field($_GET["s"]); $tax_query = array('relation' => 'OR'); $taxonomies = array('otgs_category','otgs_city','otgs_postalcode','otgs_postalcodeinsee','otgs_freeEntrance'); foreach($taxonomies as $taxonomy) { $tax_query[] = array( 'taxonomy' => $taxonomy, 'field' => 'slug', 'terms' => array( $searchTerm), 'operator' => 'IN', ); } $paged = ( get_query_var('paged') ) ? esc_html( get_query_var('paged') ) : 1; $query->set( 'paged', $paged ); $query->set( 'post_type', 'outings' ); $query->set( 'tax_query', $tax_query ); $query->set( 'meta_key', 'start_date' ); $query->set( 'orderby', 'meta_value'); $query->set('order', 'ASC' ); $query->set( 'searchText', sanitize_text_field( $_GET["s"] ) ); $query->set( 's', '' ); $query->is_search = TRUE; endif; } //add_action( 'pre_get_posts', 'pre_get_posts_search', 10, 1);
Forum: Alpha/Beta/RC
In reply to: Editor Issue in Widgets and Font Awesome Icon not displaying in UIHi,
- On one hand, in WP admin you see icons : they are called “Dashicons” and they are in wordpress core installed
- A WP plugin called “Awesome font” gives you (another) set of icons, not placed in the WP core (https://fontawesome.com/icons)
If you want to use the “DashIcons” (wp admin icons) on front end, then put this in functions.php :
/********************************************************/ // Adding Dashicons in WordPress Front-end /********************************************************/ add_action( 'wp_enqueue_scripts', 'load_dashicons_front_end' ); function load_dashicons_front_end() { wp_enqueue_style( 'dashicons' ); }
If you want to use AwesomeFont icons you should install either the WP plugin (https://wordpress.org/plugins/font-awesome/) or probably the js basic plugin (not optimize for WP, but in fact, I never tested it), then you can use :
<i class="fas fa-arrow-left"></i>
where
fa-arrow-left
is the name of the desired icon, that you can you find on AwesomeFont website -> icons.For me, WP 5.8 + classic editor + AwesomeFont won’t work well in admin sections. The AwesomeFont plugin settings page is not visible and I can’t use editor (gutengerg or classic) if Awesome font plugin is activated. I perhaps will try the non plugin method to load it.
++ Nicolas.
Forum: Plugins
In reply to: [Simple Membership] login in bootstrap modalIt still a great plugin !
I have exactly the same problem with
• wordpress 4.3.1
• HTML5BLANK theme
• wp user avatar 2.0.3“Discussion” and WP User Avatar’s “setting” pages are unavailable.
But I can choose an image in medias library for a profile as well.
Thank’s !
nico
Forum: Your WordPress
In reply to: WordPress Masonry / AJAX / Ipad ThemeHi Xarran,
I had to optimise all jpeg attachment, … it’s now 2/3 lighter.
++ Nico.
Forum: Plugins
In reply to: [NextGEN gallery] show image description for an gallery in a albumjust an up to help myself