Support » Plugin: Ad Inserter - Ad Manager & AdSense Ads » Ad Inserter wont see paragraphs on Muffin Builder

  • Resolved skullmonkey

    (@skullmonkey)


    Hi,
    I use Avada Theme that uses Muffin Builder content editor and the problem is that Ad Inserter wont see paragraphs on the page. Using the front end debugger I see BEFORE POST, BEFORE CONTENT 3, AFTER CONTENT 3 and AFTER POST positions but paragraphs are not shown.

    https://prnt.sc/105k647

    I have inserted test code:
    <img src="https://via.placeholder.com/468x60/0000ff/ffffff.png?text=ПРОБА">

    It shows good in the positions I mentioned before.

    Any way I can help Ad Inserter to parse <p> elements?

    tnx

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Spacetime

    (@spacetime)

    This mainly depends on using the_content filter hook by your theme:
    https://adinserter.pro/faq/how-ad-inserter-works#automatic-insertion

    It seems the_content hook is called, however, it gets no content to process/insert.

    3  CONTENT HOOK START [1, NOT IN THE LOOP]
       0    [0 words]
       0  INDIVIDUAL EXCEPTIONS []
       0  BLOCK 1 FAILED CHECK: PARAGRAPHS WITH TAGS
       0  CONTENT HOOK END: 0.38 ms
    
       6  CONTENT HOOK START [2, NOT IN THE LOOP]
       0    [0 words]
       0  INDIVIDUAL EXCEPTIONS []
       0  BLOCK 1 FAILED CHECK: PARAGRAPHS WITH TAGS
       0  CONTENT HOOK END: 0.08 ms
    
       3  HEAD HOOK START
       0  HEAD HOOK END: 0.05 ms
    
      22  BEFORE POST HOOK START
       0  BEFORE POST HOOK END: 0.02 ms
    
       2  CONTENT HOOK START [3, IN THE LOOP]
       0    [0 words]
       0  INDIVIDUAL EXCEPTIONS []
       0  BLOCK 1 FAILED CHECK: PARAGRAPHS WITH TAGS
       0  CONTENT HOOK END: 0.13 ms

    Consequently, nothing is inserted there.

    Maybe you should contact theme/editor authors.

    Thread Starter skullmonkey

    (@skullmonkey)

    Sure, I will and what should I tell/ask them?
    G

    Plugin Author Spacetime

    (@spacetime)

    Ask them, why is the content displayed not sent through the_content filter hook.
    https://developer.wordpress.org/reference/hooks/the_content/

    Without this hook no plugin would be able to insert anything there.
    This is a standard WP approach to process the content by the plugins.

    Thread Starter skullmonkey

    (@skullmonkey)

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ad Inserter wont see paragraphs on Muffin Builder’ is closed to new replies.