• Resolved Krzysztof

    (@autori76)


    I have a set of rotator banners:

    [ADINSERTER ROTATE name="test1" time="30"]
    
    image 1
    
    [ADINSERTER ROTATE name="test2" time="30"]
    
    image 2

    Pictures are displayed random. So the options works. But what if I want to make the first picture to be displayed first. And later everything is randomly.

    I do not see such an option here: https://adinserter.pro/documentation/ad-rotation

    P.S. I do not know when, but probably recently, spontaneously to class .Ai-13 added “-1” or class looks now: .Ai-13-1. Through this code in CSS stopped working.
    Editing: Now I remembered that I did something in CSS and I could do it. But, please check.
    Edition 2: Actually No, Class Ad Inserter probably adds?
    greetings

    • This topic was modified 2 years, 10 months ago by Krzysztof.
    • This topic was modified 2 years, 10 months ago by Krzysztof.
    • This topic was modified 2 years, 10 months ago by Krzysztof.

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

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

    (@spacetime)

    Your code is for timed rotation, so both options rotate after 30 s.

    Normally, the first option displayed is randomly chosen.
    Set its share to 100% to have it displayed first.
    https://adinserter.pro/documentation/ad-rotation

    Not sure what your question regarding the class is.
    Please clarify.
    Remote debugging doesn’t seem to be enabled.

    Thread Starter Krzysztof

    (@autori76)

    1. Rotator Banners now works as it should. Thanks ??

    2. The code below is class ai-13-1. I do not know if I added this class or rather Ad Inserter. But probably it was a class before ai-13. In Custom CSS was ai-13. I do not know if I made a mistake, whether this is a mistake for your plugin. Debug does not want to turn on, because I would have to turn off the buffering. And he does not want to do it.

    <div class="wp-block-group__inner-container" data-uw-styling-context="true">
    <h2 data-uw-styling-context="true">Sentencje</h2>
    <p data-uw-styling-context="true"></p><div class="code-block code-block-13" style="margin: 8px 0; clear: both;" data-uw-styling-context="true">
    <div class="ai-rotate ai-13-1" data-info="WyIxMy0xIiwzM10=" style="" data-next="2" data-uw-styling-context="true">
    <div class="ai-rotate-option" style="display: none;" data-name="QQ==" data-time="OA==" data-uw-styling-context="true">
    Plugin Author Spacetime

    (@spacetime)

    This class is added by the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[ADINSERTER ROTATE] First ad (first image)’ is closed to new replies.