S
S
sergiocharm2018-03-07 21:00:14
contextual advertising
sergiocharm, 2018-03-07 21:00:14

How to insert ads in the text of the article before the tag?

How to insert ads in the text of the article before the tag in Wordpress, i.e. insert an ad before the video.
As I understand it, some kind of php code should take the html of the article, find it in it and insert an ad block in front of it.
Tell me how to implement this, since Google and Yasha do not know at all.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-03-07
@azerphoenix

Hello.
In general, advertising can be added using the plugin.
For example, https://ru.wordpress.org/plugins/adrotate/
https://wordpress.org/plugins/ad-inserter/
And so, if you code, you need a js or PHP script that will display ads. Well, you need to watch how you output the video ... maybe you mean oembed ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question