• Resolved yerlix

    (@yerlix)


    I’ve made a custom post type employees and I can edit them via quick edit.

    Now I want to remove some default parts from the quick edit like slug, date, password, etc.

    The only thing I could find is to remove te quick edit completely, but that is not my intention.
    I could only find topics like https://www.ads-software.com/support/topic/removing-quick-edit?replies=14

    I’m fairly new to wordpress. I need to work with it for my internship for just two weeks now and the documentation is rather hulpfull. But not on this topic.

Viewing 1 replies (of 1 total)
  • Thread Starter yerlix

    (@yerlix)

    I found a solution that works for me
    I use javascript to remove the elements:

    $('span:contains("Slug")').each(function (i) {
           $(this).parent().remove();
       });
       $('span:contains("Wachtwoord")').each(function (i) {
           $(this).parent().parent().remove();
       });
       $('span:contains("Date")').each(function (i) {
           $(this).parent().remove();
       });
       $('span:contains("Datum")').each(function (i) {
           $(this).parent().remove();
       });
       $('.inline-edit-date').each(function (i) {
           $(this).remove();
       });

    My site is in dutch so I must make extra functions to remove the labels. The input fields were in english

Viewing 1 replies (of 1 total)
  • The topic ‘Remove parts from quick edit’ is closed to new replies.