• Resolved Christoph

    (@camthor)


    Hi,

    I would like to add a snippet into a custom theme that appears only on mobile devices. I noticed that your plugin mentions in the “Generics” tab “Inject before the … marker” but I could not find any instructions how to place the marker in the code. Is it the id of an html element? Or do I need to call a function with the marker’s name as an argument?

    Thank you for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Christoph

    (@camthor)

    I think I found it out: I added a piece of code like
    <!-- marker1 -->
    into the theme and as marker name I repeated the same string
    <!-- marker1 -->.

    It seems to work now. ??

    dan

    (@daniel-berhane)

    Hello Chris,
    You only needed to put that once even if you are going to apply multiple ads?
    Where exactly did you put it?
    Thanks.

    • This reply was modified 7 years, 4 months ago by dan.
    Thread Starter Christoph

    (@camthor)

    Once into a widget and once into “Inject before the … marker” at “Generic Injection”. “Generics” tab.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to inject in custom theme?’ is closed to new replies.