• Resolved iSaumya

    (@isaumya)


    Hi, can you please let me know how can I skip certain paragraph tags from both counting and ad inserting? Let me give you an example, Let’s say I want to show ads after 3rd paragraph and I’ve a page structure like this:

    <p>...</p>
    <p>...</p>
    <div class="something">
    	<p>...</p>
    	<p>...</p>
    	<p>...</p>
    </div>
    <p>...</p>
    <p>...</p>
    

    Now in this case the ads shows up here:

    <p>...</p>
    <p>...</p>
    <div class="something">
    	<p>...</p>
    	[AD IS HERE]
    	<p>...</p>
    	<p>...</p>
    </div>
    <p>...</p>
    <p>...</p>
    

    But I want to skip all p tags under <div class="something"> from both counting and ad inserting so that it shows up like this:

    <p>...</p>
    <p>...</p>
    <div class="something">
    	<p>...</p>
    	<p>...</p>
    	<p>...</p>
    </div>
    <p>...</p>
    [AD IS HERE]
    <p>...</p>
    

    Can you please let me know how can I achive this? Also how can I skip multiple scenarios like this?

    Looking forward to your reply. Thanks again for making this amazing plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to skip certain paragraph tags?’ is closed to new replies.