WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] no edit box when trying to edit a post (2 posts)

  1. joe1977
    Member
    Posted 2 years ago #

    I'm using a theme (Silverio 1.0 by Anonymous) and have an issue editing posts.

    This particular theme breaks posts into different sections (works, clients, skills and posts). When trying to edit posts under "skills" or "posts" (or pages for that matter), the post edit page is the standard. However, when trying to edit posts in "clients" and "works", it gives me all the fields except to edit the text or copy of of the post. It shows just the title, slug, publish and featured image fields.

    Pulling down the screen options menu only reveals making the "slug" field appear.

    The conclusion I came to is that the theme developer disabled this field for those categories. My question is which .php. file controls the "edit post" page and more specifically the fields available to that page?

  2. joe1977
    Member
    Posted 2 years ago #

    I found the solution!

    This theme developer hard coded out the fields available in the "edit post" screen based on post type using a custom (?) function. I found the code in the functions.php file.

    The functions are "post_type_clients", "post_type_works", and ""post_type_skils". The function calls an array for the "supports" variable. The string should include 'title', 'excerpt', 'editor', 'thumbnail', 'page-attributes',.

    Basically if your running into this issue, check the "post_type" function and ensure that the "supports" array contains all the fields.

Topic Closed

This topic has been closed to new replies.

About this Topic