Support » Plugin: AMP for WP - Accelerated Mobile Pages » Can’t Limit # of Related Posts

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey Brian @brianleejackson

    Thank you so much for using this plugin! It makes me really happy to know that You and Kinsta are using our plugin!

    Coming to the issue, It’s really strange because it’s not the case with other users and I just did another test on my local server to make sure those options are working fine, but certainly, there is some sort of a bug here.

    Could you share a screenshot of the related posts settings from the AMP options panel? That would help me get some idea.

    I assure you that we will fix the issue for you, No doubt about that 🙂

    Thanks again!

    Regards,
    Ahmed

    Ya, so far not too many issues. This was really the only one.

    Here is a screenshot of the panel.

    http://jmp.sh/v/luu7zHVOVI8DyWg0KumK

    Thanks

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey Brian @brianleejackson

    It’s so strange that only you have are facing this issue. Could you please the below suggestion and let me know if that fixes the issue:

    Go to the plugin_folder/templates/design-manager/design-1/elements/related-posts.php

    Locate this code
    $int_number_of_related_posts = round(abs(floatval($string_number_of_related_posts)));

    and replace it with this code:

    $int_number_of_related_posts = (int) $string_number_of_related_posts;

    Please change this code and let me know if that fixes the issue. (Please use FTP while making the changes.)

    I hope it helps,

    Regards,
    Ahmed

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hey @brianleejackson

    Please let me know if that worked for you?

    Regards,
    Ahmed

    Brian Jackson

    (@brianleejackson)

    Hey Ahmed,

    Yes, I am chatting with our developer. I will let you know.
    Thanks

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @brianleejackson,

    Any update regarding the code that we’ve sent you? Because we’re working on our next update and we need to know that if It’s the issue so we’ll resolve it, would help our community and us to grow.

    Thank you.

    Regards,
    Mohammed Asif.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Hi @brianleejackson

    We have this ticket opened for a long time now: https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/940

    Please send us some update on it or else we have to close it.

    Regards,
    Ahmed

    Brian Jackson

    (@brianleejackson)

    Feel free to close it. Unfortunately, we are no longer using AMP. It has nothing to do with your plugin 🙂 We just saw bad conversion rates: https://kinsta.com/blog/disable-google-amp/

    Thanks!

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Sure @brianleejackson

    Did you optimize your AMP for the conversion rates as you did for your blog?

    Regards,

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.