Meta fields disabled with CPT having underscore

#164547
  • Resolved Florent Merlat
    Rank Math free

    Hi,

    I have created a Custom Post Type with an underscore in the slug.
    Then, it seems the meta fields are hidden (display:none) in the admin area.
    They are not hidden with my other CPTs so I suppose there is an issue with the CPT having an underscore in the slug.

    Thank you for helping me.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thanks for contacting us!

    Could you please share a screencast of the issue, as it will help us understand the insights of the issue? If it helps, you can use a tool like loom to easily upload and share the screencast.

    Also, please share the affected URL in the Sensitive Data section of this ticket. You can access the Sensitive Data section by editing your first post on this ticket.

    Looking forward to helping you.

    Thanks!

    This is my record video : https://www.loom.com/share/b4dfea1ab8d2483185136f41b26d11ef

    What would you need as sensitive data ?

    Thank you.

    Hello,

    Thank you for that additional information, and sorry for the delay.

    I’ve tried creating a CPT on my end but I’m unable to replicate this issue using an underscore in the slug:
    https://i.rankmath.com/jKP3WG

    Please let me know if I have missed a step to replicate this. However, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    If the issue persists, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Please do take a complete backup of your website before sharing the information with us.

    Thank you, and we really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thank you for that additional information, and sorry for the delay.

    I’ve already passed this issue to our dev team and will get back to you shortly. We really appreciate your kind patience regarding this matter.

    Meanwhile, please don’t hesitate to contact us anytime to assist you further with anything else.

    Thank you.

    Hello,

    The plugin is hiding the fields which have word notice in them. This is a bug in the plugin and I have logged it. Please allow us some time to test and release a fix.
    It should be added to the plugin in the upcoming update.

    For now, to fix the issue, please add following code to your theme’s admin css file:

    
    .rank-math-page div[class*='cmb2-id-pt-legal-notice']:not(.rank-math-notice):not(.settings-error):not(.cmb-type-notice) {
        display: block !important;
    }
    

    I hope that helps.

    It solved my issue.

    Thank you.

    Prabhat
    Rank Math agency

    Hello,

    We’re glad that you got that sorted.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Hello,

    Thank you for your patience.

    We have released an update that includes the fix of the issue.

    Please update all your plugins & themes to the latest versions along with WordPress.

    If you continue to face the issue, please feel free to open a new support ticket.

    We are here to assist.

Viewing 9 replies - 1 through 9 (of 9 total)

The ticket ‘Meta fields disabled with CPT having underscore’ is closed to new replies.