Layout broken after 8.1.2 update
- 
		
			- 
Lennart Schreiber Membre# il y a 3 années et 8 moisHi, after the Update to 8.1.2 the Layout of my member area ist broken. (Screenshot on the right). With 8.1.1 everything is fine (I can did a rollback and it was fine again) (screenshot on the left). Did you change something for the template loading or stylesheet loading which I have to check in my child theme? Thank you 
 Lennart
- 
Matias Larralde Maître des clés# il y a 3 années et 8 moisHi, Which WPCA frontend skin are you using, please? Regards. 
- 
Matias Larralde Maître des clés# il y a 3 années et 8 moisI took a look at our changes. I think that the template from your theme that WPCA is using does not use the the_content() function. In order to test, please create a file named cuar.php in your child-theme and paste the below code into it. Then try again. If the styles are loaded, it means that the the_content() function is missing from your page.php template. In that case, you’ll need to copy the content of page.php to cuar.php, and modify it so that it includes the function the_content(). Regards. 
- 
Lennart Schreiber Membre# il y a 3 années et 8 moisHi, Which WPCA frontend skin are you using, please? master In order to test, please create a file named cuar.php in your child-theme and paste the below code into it. which code should I paste into it? We are using DIVI, without any template overwriting the page.php in our Child Theme. The divi page.php is using the_content(); Thank you 
 Lennart
- 
Lennart Schreiber Membre# il y a 3 années et 8 moisAny news here? We still have problems with 8.1.2! 
- 
Matias Larralde Maître des clés# il y a 3 années et 8 moisCette réponse a été marquée comme étant privée.
- 
Matias Larralde Maître des clés# il y a 3 années et 8 moisIs the DIVI theme builder activated and used on your site ? I’m not talking about the DIVI page builder, but the DIVI theme builder. Regards 
- 
- 
Matias Larralde Maître des clés# il y a 3 années et 7 moisHi, For now, I think that you can fix that by adding this code snippet to a custom plugin: /** * Main WPCA content filter * * Never use the default WP filter called the_content, * use cuar/core/the_content instead ! * * @param $content * * @return mixed|void */ function wpca_define_main_content_filter($content) { if ((!cuar_is_customer_area_page(get_queried_object_id()) && !cuar_is_customer_area_private_content(get_the_ID()))) { return $content; } return apply_filters('cuar/core/the_content', $content); } add_filter('the_content', 'wpca_define_main_content_filter', 9998);This is a temporary solution but this might work. Best regards. 
 
- 
The topic ‘Layout broken after 8.1.2 update’ is closed to new replies.