Forum Replies Created
-
AuthorPosts
-
Marco Curcio
ParticipantIt's a Bricks editor issue. I tried to place the shortcode where there is no Bricks, and it works. Does anyone know how to solve this?
Marco Curcio
ParticipantThis error occurs in the frontend with frontend submission
Marco Curcio
Participanthere a video with the problem, i've also tried the plugin you suggested but doesn't work
VIDEOMarco Curcio
ParticipantHello,
the whole site is translated with .po files, that's not the problem,
if I set the language from the content: point 1 of https://polylang.pro/doc/url-modifications/it recognizes me the strings of the metaboxes in the po file, but it does not load me the translations in the frontend only of the MB. Everything else works.
Marco Curcio
Participanthi,
did you find a solution?Marco Curcio
Participantif instead I use the pll_current_language () function inside the MB box it doesn't give me the language, so I guess I put the default one.
The problem therefore is that the filter does not take the page language but remains the default oneMarco Curcio
Participantvar_dump get_locale() inside filter rwmb_meta_boxes: it_IT
var_dump get_locale() inside wp_head hook: en_GBsame page
Marco Curcio
ParticipantMarco Curcio
ParticipantI just discovered that even if the page is in English, if I do a var_dump of get_locale () inside the MB box it tells me that the language is still Italian, as if it were separate from the rest of the page
February 6, 2022 at 11:25 PM in reply to: โ Duplicate custom post type with custom table data #33687Marco Curcio
ParticipantThank you,
is there any workaround or any advice to allow me to do it?
I am a developer -
AuthorPosts