Odanye Oluwatobiloba
asked 9 years ago

Hello. Thanks for the free addon. I hve some issues.
1) How do i disable the iframe in the sharing bar. My host provider isnt rendering it.
2) the plugin breaks my geodirectory search widget. You can check it out in http://www.trustorrun.com/claim-your-business-page/. I had to uninstall to correct problem. Deactivation doesnt solve the problem.

Hoping for answers. Thank you.

4 Answers
Allen
answered 9 years ago

@Odany : hi , i think if you deactive embed question plugin but the problem doesn’t solve, it means it’s not the problem at the plugin , and when i check the page you send , i just see some javascript not working correctly, you can see it by press F12 and check the console log. I think the script at that page kinda broke. If you can, please check it again, or you can send me the access to your site, i will help. Glad.

Allen
answered 9 years ago

@Odanye : at this time , can you help me go to file wp-config.php at your host and change the code : define( 'DISALLOW_FILE_EDIT', true ); to true so i can help you debug ? glad.

or not i think the bug is in dwqa_embed_question.php go to line 45, in function filter_content( $content ) line 55 change to : return do_shortcode( $content );. Hope this help.

Odanye Oluwatobiloba
answered 9 years ago

Hi nobita. The change in line 55 didnt work. The gd search widget is still scattered. You can still check it out. Really need this to work. thanks

nobita
replied 9 years ago

@Odanye : hi , can you enable the Editor in the theme so i can debug on your site? thanks in advance

odanye hezekiah oluwatobiloba
replied 9 years ago

Thanks for the reply. My host provider doesnt allow wp-config editing. Have tird but couldnt. Pls is there any other way

nobita
replied 9 years ago

Well when i look at that page, some how the js there get some php tag like these </p><p> in it. And that make the site HTML code mess up so , the <script>...</script> in that page broken. At first i think it’s because of do_shortcode( autop( $content) ); because it automatically put <p> tag. it’s hard for me to detect why that <p> tag auto generate like that with out debug on your site….

nobita
replied 9 years ago

i think, if you have the js on the page like that , you should use wp_enqueue_script or write it in an .js file

odanye hezekiah oluwatobiloba
replied 9 years ago

thanks for the reply. But i didnt get the last part on what i shld do. "i think, if you have the js on the page like that , you should use wp_enqueue_script or write it in an .js file". Pls can you break it down

odanye hezekiah oluwatobiloba
replied 9 years ago

Also, will granting you sftp access be benefitial instead of changing the wp-config.php

nobita
replied 9 years ago

yes , thank you , can you please send me ftp via private answer.

Allen
answered 9 years ago

@Odanye : hi , i’ve check your site and realize it’s out bug and we have to fix it later. dwqa-embed-question is our old plug-in and we didn’t support it for along time, and it’s kinda not compatible with page-builder theme so it make conflict with your theme and geo-search's short code. Please be kind.

Powered by DW Question & Answer Pro