Hi
Thank you for this plugin. I have problem with the Embed Question plugin. When I embed a question inside a post, it is embedding my whole website inside the iframe instead of just the question.
Do you have any idea why this is happening?
Thanks
Hi, so sorry but it’s not a bug, when embed the question, it need the style along with it to make the question display right, so we have to contain the whole site, but i think it can be change.
Thank you for your answer. Can you please let me know what to do so that only the question is embedded. It is looking as if my website is opening another website inside its page.
Thanks for your kind help.
you can change the code in file : dw-question-answer-embed-question/templates/single-question-embed.php and change the mark up there
Hi Allen
Just a quick one. Is it possible to edit a copy of this inside my child theme folder or do I have to do this directly in the plugin folder? I would not want to lose my edit in case of future updates to the plugin. I cannot find any instruction for this in your documentation.
Thanks
π i think it can’t… well you should back it up π
and the dw-question-answer-embed-question is no longer have updated i think, the update of it depend on the version of wordpress and DW Question answer
Hi
I still cannot figure out how to display only the embedded question instead of my whole site. Please do you have any idea of what code to edit? I still do not understand why the plugin is embedding my whole website. It is like trying to embed a youtube video and finding out that the whole youtube site with sidebars and footers and all is being embedded. Is this how this really work or am I missing something here please.
Thanks.
well, you can see in the plugin/templates :
this file : single-question-embed.php is the html of the embed you can change the code it in, also it’s included file : embed-question.php
you can try copy all the code from file “embed-question.php” and replace it in : “single-question-embed.php”
Thanks. I was able to figure it out. I was copying the iframe code for the questions and using it in my post. Seems it is only meant to be added to other websites. I used the shortcodes in my post and I got the right result.
Thanks again
Great to hear that from you !
Please login or Register to submit your answer