Forum Replies Created

Viewing 15 replies - 1 through 15 (of 29 total)
  • Thread Starter enricobt

    (@enricobt)

    Sorry, I found out it was due to Google reCAPTCHA integration, I removed it from Form 7 and meta tag disappeared.

    Thanks

    Enrico

    Thread Starter enricobt

    (@enricobt)

    HI @threadi?

    thanks for your help.

    My SEO plugin is Yoast and changed some configurations on it, but I don’t think that this solve my problem. In few days I will find it out.

    As alternative can I use robots.txt in a way that it will always allow search crawlers to index all my site ? this of course, despite the option value, “Discourage? search engines from indexing this site”, on

    Regards

    Enrico

    Thread Starter enricobt

    (@enricobt)

    Hi, Thanks for the replay.
    I would need to know if there is any specific shortcode just for the selected date that I insert into the email sent by plugin.
    Regards
    Enrico

    Forum: Plugins
    In reply to: [AMP] Google Translator
    Thread Starter enricobt

    (@enricobt)

    Hi Melind
    I think your code is okay, but browser page caching most likely makes it unsuitable for all conditions, as I’ve noticed there is different behavior depending on which browser you’re using, especially on desktop.
    You can try it yourself, I put your code back.
    [ redundant link removed ]
    Greetings
    Enrico

    • This reply was modified 2 years, 10 months ago by Jan Dembowski.
    Forum: Plugins
    In reply to: [AMP] Google Translator
    Thread Starter enricobt

    (@enricobt)

    HI Milind
    I tested the new suggested code, but this is not always working, as many times it returns NULL even when there are no translations in progress.
    If there is any other way to detect this Google translate URL, I will leave it like it was before last change, meaning that, if users click twice on “English translation” link, an error page will be shown by Google translator.
    Regards
    Enrico

    Forum: Plugins
    In reply to: [AMP] Google Translator
    Thread Starter enricobt

    (@enricobt)

    Hi Milind
    I used your code and actually it does the current page translation. But then it goes again to “double translation” URL error, as the href link “English” contained in any translated page (e.g.

    https://magazine-lorenzovinci-it.translate.goog/ricette/festa-del-papa-frittelle-di-riso-toscane-2/?_x_tr_sl=it&_x_tr_tl=en&_x_tr_hl=it) 
    <strong>is pointing to something like this </strong>: 
    "https://translate.google.com/website?sl=it&tl=en&hl=it&u=https://translate.google.com/translate?hl%3Dit%26sl%3Dit%26tl%3Den%26u%3Dhttps://magazine.lorenzovinci.it/...."


    I tried to add this code to check Google Translate url, but is not working too.

    Check if Google translate
    
    $origin = $_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
    echo '<div class="mybox">'.$origin.'</div>';
    	if ( str_contains($origin, 'translate.google') ) { 
    		return '';
    		}
    End Check

    `
    Do you have any better solution on this ?

    Best Regards
    Enrico

    • This reply was modified 2 years, 10 months ago by enricobt.
    • This reply was modified 2 years, 10 months ago by Jan Dembowski.
    Forum: Plugins
    In reply to: [AMP] Google Translator
    Thread Starter enricobt

    (@enricobt)

    Hello Milind
    thanks for your help.
    Of course, the plugin solution would be better, but too expensive with my huge amount of posts.
    Then I used your solution, but just adding this HTML code in a header widget:
    '< a href="https://translate.google.com/translate?hl=it&sl=it&tl=en&u=https://magazine.lorenzovinci.it/?amp" rel="nofollow noopener" target="_blank">English < /a>'
    The only problem is that when user press English 1st time, it will be ok, but any other click on it, it will go in a page error, as href got a new URL like this:
    u=https://magazine-lorenzovinci-it.translate.goog/
    There is any way to start always from original URL ?
    Thanks
    Enrico

    • This reply was modified 2 years, 10 months ago by enricobt.
    • This reply was modified 2 years, 10 months ago by enricobt.
    • This reply was modified 2 years, 10 months ago by Jan Dembowski.
    Forum: Plugins
    In reply to: [AMP] Google Translator
    Thread Starter enricobt

    (@enricobt)

    Hi Milind
    As for the use of a plug -in to translate my site, this is not an option as I have more than 3000 posts and will cost a fortune to translate them all.
    The script you proposed does not work and I think that Google Translate has a different syntax now.
    If you go to translate.google.com, select WebSite and then insert an URL (e.g my site is: magazine.lorenzovinci.it) for a web, you will get something like this: “magazine-lorenzovinci-it.translate.goog/?_x_tr_sl=it&_x_tr_tl=en&_x_tr_hl=it&_x_tr_pto=wapp”
    Best regards`

    • This reply was modified 2 years, 10 months ago by enricobt.
    Forum: Plugins
    In reply to: [AMP] Youtube Video
    Thread Starter enricobt

    (@enricobt)

    Many thanks, Milind! that’s good news!

    Forum: Plugins
    In reply to: [AMP] Youtube Video
    Thread Starter enricobt

    (@enricobt)

    Hi (@milindmore22)
    Thanks for your help!
    I used this code then
    <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/s52JNMT59s8″></iframe&gt;
    and it works fine on desktop.

    Do I need to make it responsive in some way?

    What about AMP component? is it still needed?
    <amp-youtube width=”480″ height=”270″ layout=”responsive” data-videoid=”s52JNMT59s8”></amp-youtube>

    Regards

    Thread Starter enricobt

    (@enricobt)

    Hi (@fellyph)
    Actually, I already had to disable AMP from my home page, because of Elementor incompatibility. But I don’t think that this is the best solution because of lack of a home AMP version. I would like to develop a simpler home page AMP fully compatible but still I would like to keep post carousel in. Do you know if there is any plugin that I would use, such as smart slider o any other solution?
    Regards
    Enrico

    Forum: Fixing WordPress
    In reply to: Odd theme change
    Thread Starter enricobt

    (@enricobt)

    Yes I know, but this is the record of my log (see image at the URL below). I don’t know how to find out what is the root cause and this is not the first time that this error occurred.
    Regards

    Log file

    Thread Starter enricobt

    (@enricobt)

    You are all right! I disabled it and now it works again. Many thanks for your prompt help and reply!
    PS: how did you find it out?
    Enrico

    Forum: Plugins
    In reply to: [AMP] Relaod once AMP pages
    Thread Starter enricobt

    (@enricobt)

    Hi Mild
    I apologize for the late reply.
    Unfortunately, I cannot replace the Iubenda plugin as it includes a full set of services, in addition to the plugin itself.
    It would definitely be better for me to replace the POPUP plugin, but there are no AMP-compatible alternatives I’ve found so far.
    Do you have any suggestions on this issue, such as another POPUP module which can also be used in AMP?
    Greetings
    Enrico

    Forum: Plugins
    In reply to: [AMP] Relaod once AMP pages
    Thread Starter enricobt

    (@enricobt)

    Hi Milind
    The reason why I need this script is that I’m using another Plugin, AMP Enacher, to show a POPUP (a newsletter registration form) when user open a post from our site.
    I found that POPUP is shown but conflicting with Cookie acceptance POPUP and I opened a ticket to AMP Encher support (the ticket is here)
    With the latest release 1.0.43 they fixed but, after user acceptance of cookies, the popup is not appearing if user doesn’t refresh the page or move to another page.
    You can try by yourself opening a post from magazine.lorenzovinci.it as this one for example (open in a private connection).
    So I didn’t have too many options now besides the code you sent me, but unfortunately, this script, as Weston wrote, is not working.
    Do you have any other suggestions?
    Regards
    Enrico

    • This reply was modified 3 years, 9 months ago by enricobt.
    • This reply was modified 3 years, 9 months ago by enricobt.
Viewing 15 replies - 1 through 15 (of 29 total)