WordPress.org

Ready to get started?Download WordPress

Forums

Edit Slug Button Missing (17 posts)

  1. samanime
    Member
    Posted 3 years ago #

    Hello,

    I have a couple of custom post types. On one of my custom post types, the "Edit" button for the slugs has vanished when on the edit page.

    Any ideas? It was there and I don't think I've changed anything that would make it disappear.

  2. samanime
    Member
    Posted 3 years ago #

    Nobody has ever ran into this issue?

  3. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    Check screen options in the upper right section of the page.

  4. samanime
    Member
    Posted 3 years ago #

    I did. They're all turned on except "Slug", but that adds a meta box named slug, it doesn't add the Edit button back for the slug at the top.

    Thanks though.

  5. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    To edit key in what ever you want slug to say and hit enter.

    I don't use it but I think that is what you want to do.

  6. samanime
    Member
    Posted 3 years ago #

    I'm not talking about the meta box for Slug. We could use that.

    However, on all my other posts, right below the title at the top there is normally an edit and view button. The Edit button has gone missing, so we can't edit the slug at the top like normal.

  7. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    Post title
    Edit | Quick Edit | Trash | View

    This it? In any event, anytime someone is missing anything from the editor the normal debug is to disable all plugins, switch to the twentyten theme and see if fixes the problem. The add each back one-by-one until it breaks.

  8. samanime
    Member
    Posted 3 years ago #

    No, I'm talking about on the Edit a single post page. On a post.php?action=edit page, it's right below where you type in the title, next to the permalink itself. It's a rounded-corners button that says "Edit", right before the "View Post" button.

    The other problem is that the standard route won't work, since there is only one custom-made plugin, which creates the custom post type in question, along with another custom post type that has the edit button. =p

    Thanks for the help. =)

  9. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    Permalink: http://www.ourexcellentadventures.com/2011/04/13/fuel-prices-up-26-in-one-month/ ‎Edit View Post

    Is only the edit button gone? You still have the visual and html views, upload/insert, etc.?

    Something is wrong with the javascript or blocking it - which is normally what some plugins/theme will do. Can you switch to twentyten to rule out theme problems? Did you do the upgrade to 3.1.1? You could also delete the wp-admin and wp-includes folders (NOT wp-content), download a fresh copy of wordpress (matching the version you have) and replace those folders.

  10. samanime
    Member
    Posted 3 years ago #

    That is the button in question. And yes, only that one is gone.

    It's only for one specific post type though...

    And I can't disable my plugin because the post type in question is a custom post type powered by my only plugin. If I disable it, the whole post type will disappear.

    It works for my three other post types... it's something specific to that one.

  11. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    If your custom plugin uses jquery then that is what is causing the problem. I don't have a solution if that is the case.

  12. samanime
    Member
    Posted 3 years ago #

    I don't think this is a Javascript problem. There is only one Javascript error, but it's on all the pages and has nothing to do with the custom post type. My post type doesn't do anything with Javascript or jQuery on the admin end.

  13. kmessinger
    Volunteer Moderator
    Posted 3 years ago #

    All the buttons in the editor are controlled thru javascript AFAIK.

    Maybe esmi or someone else will jump in here and help you out.

  14. esmi
    Forum Moderator
    Posted 3 years ago #

    All the buttons in the editor are controlled thru javascript AFAIK.

    Correct.

    @samanime: You really need to deactivate your custom plugin to confirm whether or not it is causing the problem,

  15. skinnytires
    Member
    Posted 3 years ago #

    I'm seeing this issue with a custom post type I'm developing via functions.php - based on this: http://thinkvitamin.com/code/create-your-first-wordpress-custom-post-type/

    May be related to autosave and/or rewrite rules in your plugin's code that is registering the custom post types. I'm looking more into it.

    Have you resolved your issue? I'd be curious to know if so...

    I see this bug that seemed to be resolved:
    http://core.trac.wordpress.org/ticket/12870

    Thanks.

  16. skinnytires
    Member
    Posted 3 years ago #

    Looks like I've narrowed it down to something in my custom post type creation code as well as a conflict with a plugin that was screwing up permalinks.

    Working through it...

  17. Arya Prakasa
    Member
    Posted 3 years ago #

    I have this problem.

    It should be like this:

    Post title
    Edit | Quick Edit | Trash | View

    after upgrade to WP 3.1.3 become like this:
    (Edit | Quick Edit | Trash, become disappear)

    Post title
    View

    I have follow @kmessinger trick, but didnt work. I even cant remove it. Only via database.

    Any suggestion?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.