Ads between lists/numbers
-
Hi
How to place ads not only between paragraphs, but also between lists/numbers?
Thank you
-
Hello,
you can define what is counted as paragraph:
https://adinserter.pro/documentation/paragraph-settings#countingJust make sure you don’t break HTML code.
Hi
Thank you for the reply
However, it seems that the post that you provide does not explain how to place ads between numbers, how do you do it?The actual settings depend on the place (code) where you would like to insert.
You need to define paragraph tags according to the HTML code.You did not provide any page address so we can’t check:
https://ww.wp.xz.cn/support/topic/ad-inserter-support-before-you-ask-for-help/Oh, sorry, I forgot to provide the link
This is the link: https://mutiaradakwah.com/waktu-dan-tempat-mengurkan-zakat/
Do I need to enable Remote debugging?
Thank youYes please.
Fine, I’ve activated it
Hi
Sorry, I gave the wrong URL
This is the correct URL: https://mutiaradakwah.com/waktu-dan-tempat-mengeluarkan-zakat/
Thank you-
This reply was modified 5 years, 8 months ago by
Mushlih Almubarak.
You can insert before HTML element
ol.liYou can use Filter to define wanted insertions – just make sure you use Server-side insertion (needs
Output bufferingenabled).https://adinserter.pro/documentation/insertion-before-inside-after-html-element
You also need to wrap ad code with
lielements so you don’t break HTML code:<li> AD CODE </li>Hi
Can I not add something in the “paragraft with tags …”? But the problem is I don’t know what is the type of numbering, if the paragraph is marked with p, then what is the numbering marked with?
Thank youI posted suggested settings above.
I don’t suggest to use paragraps as this would complicate settings (
lielements are nested insideolelements.Sorry, are there no settings other than HTML? because I don’t really understand HTML
Thank you very muchWell, you don’t have to understand HTML.
All you need to do is to configure a block with these settings:Enable
Output buffering
https://adinserter.pro/documentation/plugin-settingsSet block insertion to
Before HTML element:
https://adinserter.pro/documentation/insertion-before-inside-after-html-elementSet HTML element to
ol li
Set HTML element Insertion toServer-side– needs output buffering enabled.To define (filter) insertions (numbered items) set Filter to wanted positions (similar to defining paragraph numbers):
https://adinserter.pro/documentation/additional-block-settings#filterHi
I have seen there that the number is wrapped in < li > (no spaces) as in this image: https://prnt.sc/ur9cfr
So, in the “paragraph with tags…” setting, can I add < li > (no spaces)? And what effect?
Thank you very much-
This reply was modified 5 years, 8 months ago by
Mushlih Almubarak.
Yes, but check my explanation above.
You can try to use
lielement but make sure counting insideolelements is not disabled.Hi
Sorry, it looks like my theme doesn’t support output buffering, because I don’t see any “output buffering” like in your post: https://adinserter.pro/documentation/plugin-settings
How is that? -
This reply was modified 5 years, 8 months ago by
The topic ‘Ads between lists/numbers’ is closed to new replies.