• Resolved osjoy

    (@osjoy)


    Hi,

    First, I wanna say thanks very much for developing such a useful post rating plugin, it’s really easy for me to use, even no need extra settings.

    One thing right now I need your help is there seem problems on AMP page,

    it lists all the items on the AMP page, check the following information.
    —————————————————————————
    Happy with the item?

    Click on a star to rate it!

    Average rating / 5. Vote count:

    As you found this post useful…

    Follow us on social media!

    We are sorry that this post was not useful for you!

    Let us improve this post!

    Tell us how we can improve this post?
    Submit Feedback
    Thanks for your feedback!
    ————————————————————————-

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

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Support Blaz K.

    (@blazk)

    Hi @osjoy,

    I haven’t tested the plugin with AMP yet but I will ensure better compatibility in future versions – it’s on my to-do list ??
    Until then, I recommend disabling the plugin in AMP version. I don’t know which AMP plugin you are using, but I see that AMP for WP comes with AMP Plugins Manager, which allows you to disable a specific plugin functionality only in the AMP version.

    • This reply was modified 5 years, 11 months ago by Blaz K..
    Plugin Support Blaz K.

    (@blazk)

    Or if you can add AMP-specific custom CSS in your AMP plugin, you can use the snippet below to hide the widgets.

    
    .rmp-main {
        display: none;
    }
    

    Blaz

    Thread Starter osjoy

    (@osjoy)

    Thanks for your quick response, Blaz,

    Actually, just now I tried to copy all the codes from rate-my-post-public.css to my AMP plugin CSS file. and right now, it seems better, but still missing the stars, what else I can do?

    Can you please re-check it?
    Thanks.

    Plugin Support Blaz K.

    (@blazk)

    The stars don’t show because fontawesome css is missing. However, the plugin will not work in AMP because it relies heavily on javascript and AMP strips the javascript. Therefore, results won’t show up and voting won’t be possible even if you include all css from plugin to AMP pages. I’ll look into this and ensure the compatibility with AMP in future versions but I’ll need some time to do it.
    At this point I recommend hiding the plugin on AMP pages by using this snippet in AMP plugin CSS:

    
    .rmp-main {
        display: none;
    }
    

    I know it’s a bit disappointing that the plugin is not compatible with AMP, but I’m mostly adding new features based on requests I get here. Now this is on my to-do list and will be added ??

    • This reply was modified 5 years, 11 months ago by Blaz K..
    Thread Starter osjoy

    (@osjoy)

    That’s true, Blaz,

    I’ve already embedded all of the CSS(even font-awesome.min.css), also copy the entire font folder to the AMP plugin’s folder, however, the starts still missing, as you said, I have to temporary hide the widget until you have upgraded the new version.

    BTW, I’ve rated your 5 stars in the plugin page, and thanks again for your efforts.
    and I am looking forward to waiting for your new version for AMP.

    Thanks!

    Plugin Support Blaz K.

    (@blazk)

    Thanks for great review @osjoy. I’m planning to release an update in mid-December and hopefully I’ll manage to add AMP support till then. I’ll keep you updated ??

    Blaz

    Thread Starter osjoy

    (@osjoy)

    That’s great to hear and indeed you deserves the 5 stars and even more! @blazk, and I am still wondering if you can also add custom styles functions? such as border, shadow, cut-off rule or background color?

    https://www.osjoy.com/microsoft-to-do-lists-app.html

    as you can see in this page, the post content is mixed up with the rating contents.

    I would like to add a background color or the cut-off rule for the plugin to divide them.

    Sorry for taking your precious time.

    Plugin Support Blaz K.

    (@blazk)

    Sure, I’ll add more options for styling the widget in new version. Until then you can apply style in your child theme’s style.css this way:

    
    .rmp-main {
        border-radius: 10px; /*your border radius*/
        border: 1px solid black; /*your border*/
        background-color: #f2f2f2; /*background color*/
    }
    

    Blaz

    Thread Starter osjoy

    (@osjoy)

    Thanks for your great support!@blazk, I’ve added your code and it looks nice, it makes the rating system more attractive than before now.

    Thanks for your time! Wish you a good day every day! BTW, thanks for your post rating. LOL.

    Plugin Support Blaz K.

    (@blazk)

    I couldn’t help myself ?? nice to see the plugin on your website.

    Plugin Support Blaz K.

    (@blazk)

    Hi @osjoy,

    I released version 2.1.0 today which comes with some features that you recommended. However, I haven’t yet implemented the compatibility with AMP, but rest assured, I’m working on it. It’s coming soon ??

    Thread Starter osjoy

    (@osjoy)

    Wow, @blazk

    You are AMAZING!!! I am going to upgrade it right now! Will keep you updated after testing.

    Thread Starter osjoy

    (@osjoy)

    @blazk

    It works perfectly after clearing the browser cache, the half star enables and looks very well, and the style customization also good enough!

    I supposed you may need to add the settings import and export function and also looking forward to the AMP compatible function. Thanks.

    • This reply was modified 5 years, 11 months ago by osjoy.
    Plugin Support Blaz K.

    (@blazk)

    Hi, what exactly do you mean with “it blocked images”? ?? I don’t see any errors in the post and the images also display normally. Let me know more in detail what happened and I’ll investigate it ??

    Blaz

    Thread Starter osjoy

    (@osjoy)

    @blazk,

    Don’t mind it. I just revised my reply to the current version: It works perfectly after clearing the browser cache, the half star enables and looks very well, and the style customization also good enough!

    I supposed you may need to add the settings import and export function and also looking forward to the AMP compatible function. Thanks.

    BTW, forget about the block image issue, as it’s normal as you said.

    and to me, it’s perfect, LOL!

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Need supports on AMP page’ is closed to new replies.