RankMath preventing uploading/removing images in CPT

#141822
  • Resolved Celeste Lombard
    Rank Math pro
    Content AI Starter

    Dear RankMath
    When RankMath is activated I am unable to remove images to my Custom Post Type’s gallery.
    I have done tests and this only happens when the plugin is activated.
    Please could you help?
    Thanks,
    Celeste

Viewing 8 replies - 16 through 23 (of 23 total)
  • Hello,

    Thanks for getting back to us.

    The ticket no longer has credentials for your website so we can’t access it. If you want us to place the code back again please provide us with WP credentials to your website.

    If you wish to add the code yourself, here’s the code snippet you need to add to the bottom of your theme’s functions.php file:

    
    add_action('admin_head', 'my_custom_admin_css_1');
    function my_custom_admin_css_1() {
        echo '<style> .cmb2-media-status .embed-status .cmb2-remove-file-button, .cmb2-media-status .img-status .cmb2-remove-file-button { background: url("https://www.vacations.capetown/detibep/uploads/2021/01/ico-delete.png") !important; }</style>';
    }
    

    Hope this helps solve your issue.

    Don’t hesitate to get in touch if you require any further assistance.

    Celeste Lombard
    Rank Math pro
    Content AI Starter

    Hi,
    I got an email saying someone replied to this thread but there’s nothing here?
    Thanks
    C

    Hello,

    Thank you for the update.

    My colleague has already replied above, and maybe you’re viewing page 1 of this ticket.

    Please follow the steps provided by my colleague and let us know if the issue still persists.

    Looking forward to helping you.

    Thank you.

    Celeste Lombard
    Rank Math pro
    Content AI Starter

    Hello,

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

    Thank you.

    Hello,

    Thanks for getting back to us.

    I just applied the code on your website and the image upload and delete on your listing seems to be working fine now.

    Could you please verify on your end?

    Looking forward to hearing back from you.

    Celeste Lombard
    Rank Math pro
    Content AI Starter

    It works!!! Thanks so much Miguel!!

    Celeste Lombard
    Rank Math pro
    Content AI Starter

    Thank you

    Hello,

    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you 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.

Viewing 8 replies - 16 through 23 (of 23 total)

The ticket ‘RankMath preventing uploading/removing images in CPT’ is closed to new replies.