Ciao121
Forum Replies Created
-
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Bing Bot 404’sThis is the file that engines using IndexNow check to verify the site. It should be automatically created by the plugin (or I did not saw instruction about creating it) but it’s not. I have the same problem.
Forum: Plugins
In reply to: [Complianz - GDPR/CCPA Cookie Consent] Non wordpress pagesHi @aahulsebos , my idea was to load using wp-blog-header.php or just (better) wp-load.php. Do you know if that shoul be enough?
Forum: Plugins
In reply to: [Timeline Express] Working with WPMLSame for me. I translate all announcements but when I switch language I just get “No announcements found”
Forum: Plugins
In reply to: [WP Monero Miner] Multisite Support?I’d like to have it with no separate settings per webiste. E.g. I’d like to use it on all sites’s login page with the mail site’s settings.
I finally got it forcing the use of the Page’s WP editor an not the WPML translator and selecting here the appropriate popup.
Thanks!Hi,
thanks for your reply. The images you attached show an options available only in the Pro version. So is the Pro version needed to use the plugin with WPML?
Thank you again!Cant’ find out how to translate a popup using WPML. Can anybody help?
Than you!ACF can do it…
Forum: Developing with WordPress
In reply to: comments_open() and php segmentation fault.Lol… you’re right!
I solved using:<?php add_action( 'the_post', 'disable_comments_if_not_logged' ); function disable_comments_if_not_logged() { if (is_user_logged_in() ) { return; }else{ add_filter( 'comments_open', 'st_close_comments_on_category', 10, 2 ); add_action('wp_enqueue_scripts', 'st_deregister_reply_js'); } } function st_deregister_reply_js() { wp_deregister_script( 'comment-reply' ); } function st_close_comments_on_category ($open, $post_id) { $open = false; }
I just did it. I think it should be accepted, also if there are not many interested people, to respect the standard https://tools.ietf.org/html/rfc2368.
Thank!!!
I tried:
mailto:[email protected] (this is what I think should work)
mailto://[email protected]
[email protected]I’ve found a solution; when the user submit the reservation form we can take the used language with this:
if ( defined( 'ICL_LANGUAGE_CODE' ) ) { $reservation_language=ICL_LANGUAGE_CODE; }
If we append &lang=language code (i.e. &lang=$reservation_language) the the confirm or reject link template the sent confirm or reject mail will be sent in the user language.
The admin should have the “Set admin language as editing language” option ON to make this work.Do you think this can be added by default to the plugin, or should I find my solution to add this in a way it stays in place after I update your plugin?
Thank you!
Forum: Plugins
In reply to: [Five Star Restaurant Reservations - WordPress Booking Plugin] No items foundI think the problem was due something of those:
1) post revisions
2) auto draft posts
3) trashed posts
4) expired transientAfter cleaning the db removing all the above I correctly display all reservations.
If I have correctly understood the page I linked above it is not needed to store the user in the database. It’s only needed to store the language he’s using when storing his email. So it can be retrieved later and passed to wpml functions. And having the languge stored can be usful not only for WPML.
But it should already be a way to retrieve reservation language users (but I cannot find where). Because, as in my other post, in the reservation admin page I can switch between reservations made in different languages.
I think that WPML has this feature. Look here:
https://wpml.org/documentation/support/sending-emails-with-wpml/On the same page:
There is an example how to store user language when he’s not a registered user