• Resolved satheeshrajv

    (@satheeshrajv)


    Hi, I want to display one ad in search page after the search result. For this I tried to find the html element which is used to display search result but html selector is not loading for the search page. For all other pages its loading but for search page alone it is not loading. When I click the search button from home page, search page is loading without ad-inserter html element selector box.
    I kindly request you to help me on this.

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

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

    (@spacetime)

    Hello,

    try to insert after HTML element div.tdb_loop on the Search pages.

    Thread Starter satheeshrajv

    (@satheeshrajv)

    It’s not working. Any Other way?

    Plugin Author Spacetime

    (@spacetime)

    Thread Starter satheeshrajv

    (@satheeshrajv)

    I have enabled the remote debugging now. Please check.

    Note: I want ad to be displayed only of this line is there (div class=”tdb_module_loop td_module_wrap td-animation-stack td-cpt-post” ). This is the html used to display the search result. If there is no search result then this line won’t be there.

    • This reply was modified 9 months, 3 weeks ago by satheeshrajv.
    Plugin Author Spacetime

    (@spacetime)

    Then configure this element.

    Currently no block is configured for this insertion.

    Thread Starter satheeshrajv

    (@satheeshrajv)

    I have configured the dummy ad in the slot 2. Here is the screenshot https://prnt.sc/7P7hQFQEwbm3

    Thread Starter satheeshrajv

    (@satheeshrajv)

    Please suggest me the correct html element I need to insert. I have already tried div.tdb_loop and div.tdb_module_loop.td_module_wrap.td-animation-stack.td-cpt-post both both of these are not working.

    The basic problem here is ad-inserters html element selector not working in search page alone. If it works properly in search page then we can find the element easily.

    • This reply was modified 9 months, 3 weeks ago by satheeshrajv.
    Plugin Author Spacetime

    (@spacetime)

    It seems that serch pages with this theme do not have insertion position After post. Chnage code position to Footer.

    Thread Starter satheeshrajv

    (@satheeshrajv)

    Theme supports after post. But my condition is, I need to insert after particular html. Because I want the ad to get displayed only if there is some result for the search query. If we insert the ad without search result then it’s policy violation.

    So the ad needs to be displayed after the html element div.tdb_module_loop.td_module_wrap.td-animation-stack.td-cpt-post . I tried this in ad-inserter but it’s not working. I need the proper html element for this like nthchild() . Hope you got my point.

    Plugin Author Spacetime

    (@spacetime)

    Please read my answer again and fix the settings.

    Search pages with your theme do not have position?After post. You can check it with debugging functions. Code position is the server-side position where the client-side code for insertion at HTML element is inserted.

    Maybe this page can clarify the settings:
    https://adinserter.pro/documentation/insertion-before-inside-after-html-element

    Thread Starter satheeshrajv

    (@satheeshrajv)

    Hi,
    Ad is showing after changing the insertion position to footer. But the below html tag will load for each result (if there is 10 result for search query then it will load 10 times). I need the ad to be display only after the last occurance of this tag and ad should not be displayed if there is no result for the search.
    Please help me how to achieve this.
    HTML tag: tdb_module_loop td_module_wrap td-animation-stack td-cpt-post

    Thread Starter satheeshrajv

    (@satheeshrajv)

    I have achieved this by enabling “Insert only in the loop” but I feel that ad insertion is little bit slow. Any way to make it speed?

    Plugin Author Spacetime

    (@spacetime)

    The ad code is inserted as soon as the page is loaded. What and when ad code loads depends on the ad code.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘HTML element box not displaying in search page’ is closed to new replies.