Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.3k views
in Q2A Core by

Hi guys,

I am using widget anywhere plugin for inserting ads to my website. This plugin is great. However, I have some very long questions such as this and I would really like to insert ads in the body of the question. I need a code that inserts an ad after let's say 3rd and 5th paragraph of the question if such paragraphs exist. I am using snow flat theme. I have almost no knowledge of php though. Can anyone help me with this? Thank you very much in advance!

by
Anyone has any ideas or workarounds?

2 Answers

+1 vote
by
It will not be helpful plugin. There will be many questions with less description then ads will not look good.

You can try ads in sidebar or some other spots.

Here is my ads plugin, it may help you

https://github.com/ProThoughts/q2a-simple-ads-manager
by
Thank you, but what about inserting ads on a specific question only? In my case it will be really helpful because I have some really long post-type questions. Is it difficult to implement this?

I think it would be really great and helpful for all users to be able to include html/js inside the questions or answers (wherever you want) but probably this is not something that can be achieved by a single plugin?
0 votes
by
I finally managed to do this, here is the solution for everyone who might also struggle with this: http://www.question2answer.org/qa/63465/add-div-wrapper-in-the-body-of-a-specific-question
...