disable Lock Modified Date

#882827
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello, we apologize for the issue you are facing. To disable the Lock Modified Date option in Rank Math, you can follow these steps based on the editor you are using:

    1. Gutenberg Editor

    • Navigate to the Settings panel in the page or post you’re editing.
    • From the Page tab, scroll down to find the Lock Modified Date option and disable it.
    • Click the Save button to update the page or post.

    2. Classic Editor

    • Go to the Publish section of the page or post you’re editing.
    • Locate the Lock Modified Date option and disable it.
    • Click the Update button to save your changes.

    3. Elementor

    • While editing the page in Elementor, click the dropdown arrow next to the Publish/Update button.
    • Select the Update (Unlock Modified Date) option while saving changes.

    4. Divi Builder

    • In the Divi page editor, click the dropdown arrow next to the Save button.
    • Select the Save (Unlock Modified Date) option while saving your changes.

    Disabling this option will allow WordPress to update the modified date when you make changes to your content. If you have any further questions or need assistance, feel free to reply to this ticket, and a human agent from our support team will assist you.

    Sources:
    How to Lock the Modified Date of Your Posts » Rank Math

    Tiago
    Rank Math free

    I want this to not appear on my new post screen, how can I remove it?

    Hello,

    Thank you for contacting Rank Math support.

    The Rank Math plugin does not provide an option to disable this option, but you hide it using CSS, like this:

    function hide_lock_modified_date_element() {
        echo '
            <style>
            /* Target the element using the ID and child div structure */
            #tabs-0-edit-post\\/document-view > div:nth-child(1) > div > div:nth-child(5) > div:nth-child(2) {
                display: none;
            }
            </style>
        ';
    }

    You can add the code to your site using any of the methods here.

    We hope this helps you resolve the issue. Don’t hesitate to contact us again with any other questions or concerns regarding Rank Math. We are always happy to help.

    Thank you for choosing Rank Math!

    Tiago
    Rank Math free

    I tried using the code snippet, but it didn’t work, it continues to appear.

    Hello,

    How are you adding the code? I tried this on my end and it’s working fine. Also, this would work only on the Gutenberg editor – are you using any other editor? If so, which?

    Thank you for your patience and cooperation. We are looking forward to hearing back from you.

    Tiago
    Rank Math free

    I am use the classic editor

    Hello,

    If you’re using the Classic Editor, you can use this code instead:

    add_action('admin_head', 'remove_rank_math_lmd_classic');
    
    function remove_rank_math_lmd_classic() {
    	echo '
    		<style>
    		#rank-math-lock-modified-date { display: none; }
    		</style>
    	';
    }

    Don’t hesitate to let us know if you need help with anything else.

    Tiago
    Rank Math free

    It worked, 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 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,

    Just wanted to update you that I’ve discussed this further with the team, and we have decided to include a filter to disable the Lock Modified Date in the next update. The would work better than the current solution I shared – which is just hiding the Lock Modified Date option using CSS.

    Once the update is published, you can find the new filter here, or you can keep an eye on our changelog page to know when this has been shipped.

    Thank you for choosing Rank Math.

    Hello,

    Thank you for your patience.

    Just a quick update that we have fixed this issue on one of our recent releases.

    Please update Rank Math & all other plugins, themes and WordPress to the latest version.

    The issue should be fixed.

    If not, please feel free to open a support topic or reply to this message and we will be more than happy to assist.

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

The ticket ‘disable Lock Modified Date’ is closed to new replies.