• Resolved Rajasekharan N

    (@nrajasekharan)


    Hi Ahmed and Mohammed,

    I loved your plugin very much.

    On single posts, I want to remove the date alone but need the author part in the wp-meta to be intact. To have a good first impression, I don’t want the posts to be shown as very old for a reader (not for the search engines), hence want to remove it. How do I do it?

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

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

    (@ahmedkaludi)

    We don’t have an option but there’s a CSS code which will help you with this.

    Add this in Dashboard > AMP Options > Design > Custom CSS

    
    .amp-wp-posted-on{display:none;}
    
    Thread Starter Rajasekharan N

    (@nrajasekharan)

    No, it’s not working. I tried disabling the “Meta info” as well but of no use, to remove both the author ID and the date together. Neither the meta info is not getting completely disabled after unchecking its slot, nor the CSS code is working with the meta info checked/unchecked.

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Try this CSS, this will work for sure.

    .amp-wp-meta time {
        display: none;
    }
    Thread Starter Rajasekharan N

    (@nrajasekharan)

    Yay, it’s working. Thanks ya Ahmed.

    Is there any way to remove the published date and modified date from the AMP structured data itself?

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Removing from the structured data will give validation errors from the tool.

    I see an error in the structured data, you seem to have uploaded your profile pic in the default structured data. Try to upload a bigger image there instead as a default structured data image.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I remove the date alone in single posts in AMPforWP?’ is closed to new replies.