-
AuthorPosts
-
February 16, 2016 at 4:59 pm #584280
Hi there,
When duplicating and copying the content (a Page, for example) with WPML the Code Block’s HTML disappears. Have you encountered this issue?
February 17, 2016 at 8:43 am #584527Hi worldfuturecouncil,
Not sure what you mean by that, could you try to explain further and/or post screenshots of the issue please? Send us admin login details in private so that we can have a closer look.
Best regards,
RikardFebruary 17, 2016 at 11:46 am #584606Hi Rikard, for for getting back to me. Sorry for the confusion, I’ll try to make it clearer, maybe a run through will help:
1. I created my pages and for some headings I used the Code Block element with my own css heading styles. http://martinfreire.com/wp-content/uploads/2016/02/Captura-de-pantalla-2016-02-17-a-las-10.32.28.png
2. Once those Pages were done I was ready to start with the translation of my whole website using WPML.
3. The first page I duplicated using WPML (clicking on the “+” sign on the Pages backend section). The duplicated page had the Code Block with my custom classes in. http://martinfreire.com/wp-content/uploads/2016/02/Captura-de-pantalla-2016-02-17-a-las-10.41.38.png
4. The code dissapeared (see attached images). http://martinfreire.com/wp-admin/post.php?post=740&action=edit
Is this clearer? Let me know if it’s not and I’ll elaborate further.
Thanks!!
February 22, 2016 at 7:23 am #586896February 28, 2016 at 11:25 pm #590513Hi Ismael, thank you for getting back to me.
h_dept1 is a css class I created for certain elements. That’s the code that usually disappears.
Should I wrap it under <script> or something like that?
Thanks!
March 3, 2016 at 9:22 am #592502Hey!
If it’s a class attribute, you should add it inside a class attribute container. Example:
<div class="h_dept1">SOMETHING HERE</div>http://www.w3schools.com/html/html_classes.asp
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.
