Digital experiences for all disciplines
Forum Replies Created
-
Posted in: We hit Power Elite.
-
It’s doesn’t work for me: the map is in Hungarian lang on my desktop (Win10 HUN / Chrome HUN), on my phone (Android ENG / Chrome ENG) and on my laptop too (MacOS ENG / Chrome HUN).
Hi,
Here is the answer from WPML support staff, so the bug is in your theme:
Hi, as I suspected, the map is being generated by a WordPress shortcode configured by the theme with the name of “spb_gmaps”. This shortcode accepts a couple of parameters but not the one that manages the language that Google needs to receive in order to translate the map. I suggest that you contact the theme author to adapt the them to your needs. You can direct the theme’s author to this thread for more technical details.
======================
The technical details of the issue :The shortcode “spb_gmaps” does not receive the parameter “region” that Google uses to identify the correct language it is supposed to use. Either the shortcode does not have that parameter in its code or it was not used in the example given. Either way since this shortcode is used on the content of a post/page the way to pass this to Google would be for the function that processes the shortcode to use our constant ICL_LANGUAGE_CODE to add the region parameter to the resulting map code. One thing that has to be taken into account is the timing of the processing of this shortcode since WPML must be loaded first to allow it to set this constant.
For reference : https://developers.google.com/maps/documentation/javascript/examples/map-language
======================
This reply has been marked as private.Thank you, but I need to describe exactly the php file which contain this – I don’t want to modify functions.php.
OK, it’s not a CSS problem, so: what php file contains this blog layout/elements?
OK and how can I delete or modify the meta for example delete comments:
Atelier in The Look / September 1, 2014 /3 commentsCan you recommend any plugin for this?
Thanks
OK, just one more question:
I have a row with 4 column (and mixed content in columns).
How can I add the 5th column? Make a 6col layout or…?I’m not familiar with this, can you help me more specific?
Thanks in advance,
ZoltanUnderstand. Any idea or ‘hack’ how can I make a 5- or 8, 9 column layout?
Thanks in adv.
ZoltanAny news about this 5-columns feature?
I found this in functions.php – this is all of the themes image sizes?
/* THUMBNAIL SIZES ================================================== */ set_post_thumbnail_size( 220, 150, true); add_image_size( 'widget-image', 94, 70, true); add_image_size( 'thumb-square', 250, 250, true); add_image_size( 'thumb-image', 600, 450, true); add_image_size( 'thumb-image-twocol', 900, 675, true); add_image_size( 'thumb-image-onecol', 1800, 1200, true); add_image_size( 'blog-image', 1280, 9999); add_image_size( 'gallery-image', 1000, 9999); add_image_size( 'large-square', 1200, 1200, true); add_image_size( 'full-width-image-gallery', 1280, 720, true);
Browser cache cause this error – sorry for unconvenience!
After hard cache cleaning, works well.
Thanks, excellent support!
Still doesn’t work.
-
Posted in: We hit Power Elite.