Home › Forums › WoodMart support forum › Parse error
Parse error
- This topic has 12 replies, 2 voices, and was last updated 2 years, 9 months ago by
Luke Nielsen.
-
AuthorPosts
-
February 14, 2022 at 9:53 am #352759
plangParticipantFebruary 14, 2022 at 9:55 am #352761
plangParticipant…/wp-content/themes/woodmart/index.php
<?php
/**
* The main template file
*/if( function_exists( ‘woodmart_is_woo_ajax’ ) && woodmart_is_woo_ajax() ) {
do_action( ‘woodmart_main_loop’ );
die();
}get_header(); ?>
<?php
// Get content width and sidebar position
$content_class = woodmart_get_content_class();?>
<div class=”site-content <?php echo esc_attr( $content_class ); ?>” role=”main”>
<?php do_action( ‘woodmart_main_loop’ ); ?>
</div><!– .site-content –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<? php the_content(); ?>
February 14, 2022 at 10:31 am #352772
Luke NielsenKeymasterHello,
Thank you for reaching out and signaling the problem about parse erorr.
It looks like you tried to customize the code yourself. I would like to inform you that the
<? php the_content(); ?>
value (that at the end) should not be there and also such values like<?
php
should not have a space between them.https://monosnap.com/file/UkDyfi0dQsS0kCAXou9XWFp3zq6V5o
If you’d like to contact us, we are here for whatever questions you may have.
Kind Regards
February 14, 2022 at 1:17 pm #352878
plangParticipantHello,
Thanks for the quick help!
I added the last line because I can’t edit the shop page (camera rental) with Elementor and get this error message:
——-
Sorry, but no content area was found on this page.You need to call the ‘the_content’ function in the current template for Elementor to work on this page.
——-Can’t edit shop page with Elementor?
Kind regards
February 14, 2022 at 1:44 pm #352888
Luke NielsenKeymasterHello,
The shop page is the Woocommerce functional page. This page is not editable by its nature. If you somehow edit the shop page your store may work incorrectly regardless of the theme. However, at the moment we develop the Layout builder (Possibility to edit the Shop/product pages) and we will add it in our next 6.3 update which will be released in 2 weeks.
Always remember that you can reach out to us with any questions you may have. We wish you a splendid day!
Kind Regards
February 14, 2022 at 1:58 pm #352897
plangParticipantHello,
That’s great news, thanks for the support!
Can you recommend a plugin for woodmart that I can use to add a text field under the product name on the single-page in the shop.
So thanks again and have a nice day
Best regards
February 15, 2022 at 8:31 am #353087
Luke NielsenKeymasterHello,
Unfortunately, I don’t have any information about such plugins. We also don’t have information on which plugins are used by our customers for that.
If you’d like to contact us, we are here for whatever questions you may have.
Kind Regards
May 10, 2022 at 6:33 pm #374681
plangParticipantHello,
I have a problem with the mobile view iPhone and iPad. The banner block on the home page is not displayed correctly on .see the screenshot
Domain:
http://www.bildton.tvHow can I solve the problem? Can you help me?
Best regards
Peter
Attachments:
You must be logged in to view attached files.May 11, 2022 at 10:02 am #374806
Luke NielsenKeymasterHello,
In order to review the situation and narrow the reason for its appearance, I need admin access from you. Could you please provide it? So I can check the issue on your side.
Looking forward to hearing back from you!
Kind Regards
May 11, 2022 at 11:41 am #374844
plangParticipantHello,
Thank you for the quick support.
Admin access attached!
The display also affects this page:
http://www.bildton.tv/shop/
The admin access is the same.I’ve added screenshots from Safari Dev-Tools here, everything looks amazing.
Regards
Attachments:
You must be logged in to view attached files.May 13, 2022 at 11:12 am #375520
Luke NielsenKeymasterHello,
Sorry for the delay.
After reviewing the situation we found that the issue comes from third-party plugins that disrupt the operation of the element so the images on the phone are disappeared.
Please deactivate all the plugins not related to the theme, switch the parent theme, and check the issue. If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.
Kind Regards
May 13, 2022 at 1:06 pm #375557
plangParticipantHello,
thank you for your answer.
It’s strange, when I look at the page from my development server, the images are displayed correctly on the iPhone and iPad.
https://www.gridworks.de/clients/bildton/
The website http://www.bildton.tv was put online with Duplicator Pro.
I also checked all custom css files again, these are also identical.
Now I’m a bit perplexed.
Kind regards
Attachments:
You must be logged in to view attached files.May 16, 2022 at 9:52 am #376090
Luke NielsenKeymasterHello,
Sometimes you can see issues only on the mobile devices, in your case, it is caused by third-party plugins so you should disable plugins that are not related to the theme and check the issue on the mobile again.
Thanks for your time and have a great day.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register