Home › Forums › Air WordPress Theme › Conflic with Woocommerce Thank You Page Nextmove
- This topic has 13 replies, 2 voices, and was last updated 3 years, 3 months ago by
SeaTheme.
- AuthorPosts
- March 30, 2019 at 4:30 am #18122
Hi There, I love Air Theme so much and I have already renewed the theme support to deal with some issues.
First, I want to adjust the Woocommerce Thank You Page with the plugin “Woocommerce Thank You Page Nextmove.” https://wordpress.org/plugins/woo-thank-you-page-nextmove-lite But it seems to have some conflict with woocomerce templates of Air theme to not show the short code.
The plugin works by insert the shortcode to the page. like this picture can describe how it works.
https://drive.google.com/open?id=1e3KkVgvhsBxBmlLUMk7r7iUanhf81JbcIt’s work with orther themes.
I have screenshot to describe this.
With Air Theme (Not Show the short code)
https://drive.google.com/open?id=199zf3WJGtQKqtO01yFQZ0wJn4u2vGJN-With Others, Like TwentyNineteen Theme
https://drive.google.com/open?id=1DIGhDqIV6CMRH9TCnabQD8lw4JHH8g7fPlease Helps
Thank youMarch 30, 2019 at 5:22 am #18123And, I think the plugin are on the same issue, I would like to customize the pages using an ELEMENTOR. But it requires the “the_content” tag in the body of the page. https://docs.elementor.com/article/56-content-area-not-found?
March 30, 2019 at 5:26 am #18124This reply has been marked as private.March 30, 2019 at 11:55 am #18126More information, from the plugin support team
” I checked your website and tried to display “abcd” on thank you page but it is not displaying. http://bakingcode.org/hitesh/2019-17-15-49.png
Can you please contact your theme developer and ask them why the simple content is not displaying on the page. OR how to display the content on the page.
Most probably they have removed the “the_conten” hook from their template while displaying and using their custom functions to display content on the pages.”
March 30, 2019 at 1:57 pm #18128Hi,
I checked your wp-admin, I don’t find which page with the “thank you” shortcodes, which page is?
===============
For the ELEMENTOR “Content Area Was Not Found” issue, There is the the_content() in Air theme, I don’t know why it don’t see it. But if you remove(comment) the judgment expression codes, it will work.
– For the Page, you could upadte this file as:
/template/page/content.php
<?php //if(get_the_content()){ ?><div class="entry container"><?php the_content(); wp_link_pages(); ?></div><!--End entry--><?php //} ?>
– For the Post, you should do the same thing for these template files:
/template/single/format-standard.php
/template/single/format-image.php
/template/single/format-video.php
/template/single/format-audio.php
/template/single/format-linkphp
/template/single/format-quote.php
/template/single/format-gallery.php
Regards!
Bwsm – uiueux.com – Twitter – FacebookMarch 30, 2019 at 4:31 pm #18129iF deleting
if(get_the_content()) { ... }
from page and post template, the content will not show like this.
I have screenshots, some page is blank only have only the title
https://drive.google.com/open?id=1mOOYdgPS21r0vzsPuZ-Zh4vRA6PFqOAm
https://drive.google.com/open?id=1ZETELAjnrIne9JsaRJEEyHelHU5H2DOP
https://drive.google.com/open?id=1xV-wWEORoK731XkXzbOftl4XYzWnbShYSo I think this code is maybe necessary, And maybe The Thak you page there is no this code?
Can you remember this page, which template is used in this picture?
https://drive.google.com/open?id=199zf3WJGtQKqtO01yFQZ0wJn4u2vGJN-
So if going to put this code in this template, Can the content will show up?The first question from you, where is the ‘Thank you’ page?
The Thank you page, I think, is hidden like other woocommerce pages. Can not find The Thank you page from Pages panel.
Thank You page Url https://akitasvara.com/order-received/thank-you/But You can go to see from XLplugin > Nextmove >Thank You
https://drive.google.com/open?id=1O4SSf-QLPi_CftBqGiiWgBEfDkWzOkba
https://drive.google.com/open?id=12FTNIeVIftgwNo0X_sAvi0JJDkvoXJgi
https://drive.google.com/open?id=1mx7ZUweoOy1lKfksGL-h86RelQQed5dr
https://drive.google.com/open?id=1RGjv1A0nZ86ggJauDkFz-v8WBbG6KLFm
https://drive.google.com/open?id=1Xb7GnaSGoEr9lrfR_if2WeNmMDQZWx71Thank you so much for your help
Best Regard,
MinMarch 30, 2019 at 4:43 pm #18130March 31, 2019 at 6:42 am #18133I think you maybe remove all codes of content.php, just remove the judgment expression. I fixed it on your site, it works for Page now.
I fixed the issue for ‘Thank you’ page on your site also, please check.
ps: if it doesn’t work still, please leave the ‘Thank you’ page on wp-admin(the editing page this screenshot)March 31, 2019 at 7:12 am #18135it still doesn’t work.
https://drive.google.com/open?id=1rwi0SRyTQZpVstHSoGIEqXc4tw7W4TdW
https://drive.google.com/open?id=1VCM4qLdJjGtrkaGhc3MY5gU9tAksaAbfI leave the ‘Thank you’ page on wp-admin(the editing page)
March 31, 2019 at 7:26 am #18137: Thank You page Url https://akitasvara.com/order-received/thank-you/
It is front end URL. It always to redirect to the homepage.
I need wp-admin URL of this page>>>> https://drive.google.com/file/d/1Xb7GnaSGoEr9lrfR_if2WeNmMDQZWx71/viewMarch 31, 2019 at 7:29 am #18138https://akitasvara.com/wp-admin/post.php?post=3977&action=edit&classic-editor
This is right? please.
Thank you very muchMarch 31, 2019 at 7:51 am #18139Yes.
I don’t know why the files can not be saved, I thought they were saved.
You could change the 2 files by your account or FTP:1.
/template/page/content.php, update to:
<?php //if(get_the_content()){ ?><div class="entry container"><?php the_content(); wp_link_pages(); ?></div><!--End entry--><?php //} ?>
2.
/functions/interface/interface-template.php : line 92-106 (see screenshot) , update to:function airtheme_interface_single_content(){ //** post format if ( is_singular('post') && !airtheme_enable_pb() ) { $post_format = !get_post_format() || get_post_format() == 'aside' || get_post_format() == 'status' || get_post_format() == 'chat' ? 'standard' : get_post_format(); airtheme_get_template_part('single/format', $post_format); //** post type for clients, faqs, jobs, testimonials team } elseif ( is_singular( array( 'clients_item', 'faqs_item', 'jobs_item', 'team_item', 'testimonials_item' ) ) ){ airtheme_get_template_part('single/type', get_post_type()); } else { the_content(); } }
March 31, 2019 at 8:02 am #18140It’s big news. Everything’s solved now!
Thank you page already appears now!
https://drive.google.com/open?id=1kvuCXR3JIQ265Int9n-QjJW-SHB0Q4ioElementor is Okay too!
https://drive.google.com/open?id=1IWXUk2S8KWG2FoIE3aCcyQeFyqQV8EBqYou’re saving my life.
THANK YOU SO MUCH!Have a good day!
March 31, 2019 at 8:11 am #18141Glad it worked 🙂
- AuthorPosts
- You must be logged in to reply to this topic.