• Resolved rajkumar403

    (@rajkumar403)


    Hi,

    I have installed this plugin and enabled the amp pages for blog post detail pages. I have using the swift theme for my pages. The orderlist is not properly ordering the numbers. It is showing the same number for all listed items.

    Ex:
    1 item1
    1 item2
    1 item3

    In actual page it is working proper. Can i missed any configuration regarding this? Please help me to resolve this problem.

    Wordpress version: 4.9.13

    Regards,
    Raj S

    • This topic was modified 5 years ago by rajkumar403. Reason: missed some content
    • This topic was modified 5 years ago by rajkumar403.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    We checked your issue. We cannot recreate the issue from our end. It’s working perfectly.
    Like this: https://monosnap.com/file/ukt88019pIx7XNk971c80Z6JgDczXK
    https://monosnap.com/file/DU6FhDjSgQYvWuyuSUvGhAKgzHIEym
    Can you please tell me how did you add the ordered list on your website.

    Thread Starter rajkumar403

    (@rajkumar403)

    Hi @ahmedkaludi ,

    Ordering is working default cases, if we used the start attribute to create the order list it shows the same number for all listing items. Please check the below example case.

    Example:
    Working:

    <ol>
    <li>Item1</li>
    <li> Item2</li>
    <li> Item3</li>
    </ol>

    Result:

      1. Item1
      2. Item2
      3. Item3

    Not Working:

    <ol>Item1</ol>
    <p>Some items</p>
    <ol start="”2”"> Item2</ol>
    <ol start="”3”"> Item3</ol>

    Result:

    1 Item1
    Some items
    1 Item2
    1 Item3

    Regards,
    Rajkumar S

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    The orderlist is working properly on ordering the numbers. Here second example is not working. Because that is a wrong code. Can you plese follow the first example? It would be working perfectly.

    Thread Starter rajkumar403

    (@rajkumar403)

    Hi @ahmedkaludi ,

    Above mentioned order list is working on actual pages. This type of ordering is not working on amp pages only. This case is happens when we are adding order items in word document.

    Process1 – https://imgur.com/vQDqIaV
    Process2 – https://imgur.com/MvMGnl0
    Process3 – https://imgur.com/M2VbwV1
    Process4 – https://imgur.com/YcuykX5
    Process5 – https://imgur.com/PRwOUId

    Please check the process. Reply me back.

    Regards,
    Rajkumar S

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please share the code that you are added to WordPress, the same code we will test it our end?

    Thread Starter rajkumar403

    (@rajkumar403)

    Content:

    1.	Order1
    Added some items - https://www.google.com/
    2.	Order2
    Added some items - https://www.google.com/
    3.	Order3
    

    Html code:

    <ol>
     	<li>Order1</li>
    </ol>
    Added some items - <a href="https://www.google.com/">https://www.google.com/</a>
    <ol start="2">
     	<li>Order2</li>
    </ol>
    Added some items - <a href="https://www.google.com/">https://www.google.com/</a>
    <ol start="3">
     	<li>Order3</li>
    </ol>
    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Currently, we don’t have the support on start Attribute. But we have created a ticket for this issue. We will be fixing this in our future updates.

    Reference: https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/4243

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    This issue is fixed in the latest update of our plugin(1.0.33). Can you please update the plugin?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Order list is not ordering properly in amp post detail pages’ is closed to new replies.