Jose Lazo
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: API filter post by GMT datesThanks for you reply.
My mistake ??. I mean to get posts between modified dates in GMT. I tried this:
https://madridsecreto.co/wp-json/wp/v2/posts?per_page=100&modified_after=2022-09-01T00:00:00&modified_before=2023-10-13T13:00:00&dates_are_gmt=1
with no luck.You can see both dates in the response: modified and modified_gmt one.
Maybe you are right and I need to patch up the request’s query vars through the “pre_get_posts” or register a custom endpoint ad hoc.
Thanks for your time ??!
Forum: Fixing WordPress
In reply to: Windows OS not displaying correctly but iOS works fine?Hi @freemanson8012,
TIFF is not a format suitable for images on the Internet, and it is poorly supported. Instead, you should use WebP, JPG or PNG
Forum: Plugins
In reply to: [Personalize Login] Fatal error after upgrading to last versionAll my apologies, @carazo, @holdusback and everyone affected.
I am preparing a total refactoring of the plugin and released a new version with part of the code from the refactoring.
I have fixed the name of the constant:
define( 'PERLOGIN_PLUGIN_DIR_PATH', plugin_dir_path( __FILE__ ) );
And the call to the template:
require PERLOGIN_PLUGIN_DIR_PATH . 'templates/' . $template_name . '.php';
Hi
Thanks for your reply, but I think I have not explained well ??
I mean we have a double menu in the HTML even though it only shows one at a time (one on mobile and one on desktop). Google can see duplicate links in both menus.
The way to fix it’s only render one of them at a time.
Hello,
After applying your suggestion (increasing the number of links per sitemap), the error persists. The last three sitemaps show a 404 error.
FYI
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Duplicate URLsHi @edo888
I get what you said, but the problem is that your plugin generates duplicate urls.
Ex: https://academy.bit2me.com/en/what-is-blockchain-blockchain/ redirects to https://academy.bit2me.com/en/como-funciona-blockchain-cadena-de-bloques/
and this has a canonical tag to https://academy.bit2me.com/en/how-blockchain-blockchain-works/How am I supposed to fix this? How can I remove the URLs automatically generated by the plugin?
Thanks in advance
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Duplicate URLsHi @edo888
You are right, but we are using the “Translate URL” option and we have the same page in English at four different URLs (with and without trailing slash).
How can we remove the untranslated URLs in the English version?
Thanks
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Nice dropdown with flags is not workingHi @ahmedamir
I think you are using some kind of cache (Divi maybe?). You should check the cached JS files to prevent the ones loaded by GTranslate from being loaded BEFORE jQuery.
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Language Selector not appearingForum: Plugins
In reply to: [Yoast SEO] Duplicate URL in XML sitemapHi, @suascat_wp ,
After follow all your steps, I found the problem. My client duplicate pages with same URLs (but different IDs) ::face-palm::
Thanks for the answers
- This reply was modified 2 years, 8 months ago by Jose Lazo.
Forum: Plugins
In reply to: [Yoast SEO] Duplicate URL in XML sitemapHi, @devnihil, sure.
In the pages sitemaps you can find https://www.marbenabogados.com/diabetes-incapacidad-laboral/, for example. Or /esclerosis-multiple-incapacidad-laboral/. If you can search in the browser (Ctrl+F), you will see multiples cases.
Thanks in advance
Forum: Plugins
In reply to: [PWA for WP & AMP] ERR_FAILED on mobile devicesHi, @magazine3 ,
Thanks for your answer. I uploaded a couple of screenshot into media gallery. Obviously, I can’t see in my mobile device, but I hope you can.
Frontend from mobile: https://destinovera.com/wp-content/uploads/2021/10/Screenshot_20211005-071656.png
Backend from mobile: https://destinovera.com/wp-content/uploads/2021/10/Screenshot_20211005-072033.png
I think maybe is an error in my device (serviceworker or something) because I had installed the website in it before uninstall and reinstall the PWA for WP.
Thanks
Forum: Plugins
In reply to: [Super Progressive Web Apps] Getting ERR_FAILEDHi @superpwa ,
I have the same problem in destinovera.com.
I tested and I can reach from desktop, but in mobile devices I can’t reach.
In mobile device I can access to backend, but I can’t see the frontend
Forum: Plugins
In reply to: [WooCommerce] Override variation.php templateHi @chefnelone
To add conditional you have to use underscorejs syntax:
<# if ( data.variation.price > 10 ) { #> <code>data.variation.price</code> <# } #>
Good luck
It is perfect.
Thanks!