Home › Forums › Basel support forum › Disappears content with WPBakery
Disappears content with WPBakery
- This topic has 23 replies, 2 voices, and was last updated 6 years, 9 months ago by Artem Temos.
-
AuthorPosts
-
March 13, 2018 at 6:16 pm #45751
miopp_BarcelonaParticipantHello,
I updated the latest version of Basel 3.9.2
The WPBakery does not work well and some contents have disappeared.
They are seen inside the editor but they are not published on the web.I bought a few days ago WPBakery but they recommend NOT activating it, better update the theme. It’s what I’ve done but it does not work.
I need help, urgently
Thank youAttachments:
You must be logged in to view attached files.March 13, 2018 at 8:26 pm #45777
Artem TemosKeymasterHello,
Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?
Thank you in advance
March 13, 2018 at 8:53 pm #45782
miopp_BarcelonaParticipantHello Artem
deactivated!thanks
March 13, 2018 at 9:01 pm #45783
miopp_BarcelonaParticipantI send you again
March 14, 2018 at 5:53 am #45812
miopp_BarcelonaParticipantHello, the page remains the same.Do you have a problem?
a few hours have passed and I see it the same.
thanksMarch 14, 2018 at 7:39 am #45838
Artem TemosKeymasterCould you please provide us your FTP access as well?
March 14, 2018 at 1:34 pm #45937
miopp_BarcelonaParticipantFTP access ☟
March 14, 2018 at 1:48 pm #45946
Artem TemosKeymasterTry to add the following PHP code snippet to the child theme functions.php file to fix this
function basel_generate_posts_slider($atts, $query = false, $products = false ) { global $woocommerce_loop, $basel_loop; $posts_query = $el_class = $args = $my_query = $speed = ''; $slides_per_view = $wrap = $scroll_per_page = $title_out = ''; $autoplay = $hide_pagination_control = $hide_prev_next_buttons = $output = ''; $posts = array(); $parsed_atts = shortcode_atts( array_merge( basel_get_owl_atts(), array( 'el_class' => '', 'posts_query' => '', 'img_size' => 'large', 'title' => '', ) ), $atts ); extract( $parsed_atts ); $basel_loop['img_size'] = $img_size; if( ! $query && ! $products ) { list( $args, $query ) = vc_build_loop_query( $posts_query ); // } $carousel_id = 'carousel-' . rand(100,999); if( $title != '' ) { $title_out = '<h3 class="title slider-title">' . $title . '</h3>'; } ob_start(); if( ( $query && $query->have_posts() ) || $products) { echo $title_out; ?> <div id="<?php echo esc_attr( $carousel_id ); ?>" class="vc_carousel_container"> <div class="owl-carousel product-items <?php echo esc_attr( $el_class ); ?>"> <?php if( $products ) { foreach ( $products as $product ) { basel_carousel_query_item(false, $product); } } else { while ( $query->have_posts() ) { basel_carousel_query_item($query); } } unset( $woocommerce_loop['slider'] ); ?> </div> <!-- end product-items --> </div> <!-- end #<?php echo esc_html( $carousel_id ); ?> --> <?php $parsed_atts['carousel_id'] = $carousel_id; basel_owl_carousel_init( $parsed_atts ); } wp_reset_postdata(); unset($basel_loop['img_size']); // woocommerce_reset_loop(); $output = ob_get_contents(); ob_end_clean(); return $output; }
March 14, 2018 at 2:05 pm #45953
miopp_BarcelonaParticipantI don’t see the theme child, I don’t know how to create it.
thanksMarch 14, 2018 at 3:12 pm #46005
Artem TemosKeymasterYou can download the child theme from ThemeForest with all our theme files. Install it via Appearance -> Themes.
March 14, 2018 at 3:20 pm #46014
miopp_BarcelonaParticipantWell, it’s installed, should I activate it?
March 14, 2018 at 3:38 pm #46021
miopp_BarcelonaParticipantCan you check that the code is correctly set? ☟
I’ve added it (in Theme Child’s functions.php) after the existing code.The next step?
March 14, 2018 at 3:41 pm #46022
miopp_BarcelonaParticipantI send the text file
March 14, 2018 at 3:46 pm #46029
Artem TemosKeymasterYou need to activate the child theme to apply that changes.
March 14, 2018 at 3:47 pm #46034
miopp_BarcelonaParticipantCan you check that the code is correctly set? ☟
I’ve added it (in Theme Child’s functions.php) after the existing code.The next step?
Attachments:
You must be logged in to view attached files.March 14, 2018 at 5:46 pm #46057
miopp_BarcelonaParticipantHello, it seems that the WPBakery works well, I have made some changes and they do not disappear.
What would be the next step?
Thank youMarch 14, 2018 at 6:57 pm #46072
miopp_BarcelonaParticipantHello, something has happened can not find any product
not found
how to continue please.
Attachments:
You must be logged in to view attached files.March 14, 2018 at 7:29 pm #46083
Artem TemosKeymasterStrange, could you please check how it works with default WordPress theme to see if it is our theme issue or not? Also, try to to check and save your pemalinks options in Dashboard -> Settings -> Permalinks.
March 15, 2018 at 9:53 am #46181
miopp_BarcelonaParticipantGood morning
Well thank you, it has been fixed alone.
Now I have activated the child theme with your modification in the functions file.
I have to solve some things:– With WP Bakery, I must return to complete contents of missing products.
– With All in One Seo, go back to completing items.
– Return to the footer of the web that has disappeared completely with the widgets that were before. Can I get it back?
Is it correct to continue working with the child theme?
March 15, 2018 at 10:42 am #46198
Artem TemosKeymasterThe only one problem may occur when you switch between themes in Appearance -> Themes is that widgets may lose their positions. It is a WordPress behavior and we are not able to fix this in our theme support scope. Now, you need to go to Appearance -> Widgets and move all widgets to appropriate positions.
March 16, 2018 at 11:40 am #46443
miopp_BarcelonaParticipantI have solved the widgets thanks. In general the page works with WP Bakery.
My main doubt is that the Child theme is active with your code modification. What will happen when I need to update the Basel version?
March 16, 2018 at 1:10 pm #46466
Artem TemosKeymasterYou don’t need to update the child theme. Only the parent theme should be updated.
March 16, 2018 at 5:03 pm #46541
miopp_BarcelonaParticipantI have consulted Google Pagespeed and it has changed, now it does not ‘read’ the top of the page.
‘The content of the top half of the page could not be displayed’
Attachments:
You must be logged in to view attached files.March 16, 2018 at 8:08 pm #46561
Artem TemosKeymasterStrange, but we don’t know what does it mean. As we can see on your screenshot, the website is displayed correctly.
-
AuthorPosts
Tagged: WPBAKERY
- You must be logged in to create new topics. Login / Register