WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Custom fields ordering on WP Admin side

[Resolved] Custom fields ordering on WP Admin side

  • Hi,

    Thanks again for the great plugin.

    After upgrading WP and this plugin, one of the custom fields is showing up lower on the add new post form for my custom post.

    Is there a straightforward way to change the ordering so the custom field appears right under WordPress’s default body field? I tried dragging and dropping, but it only saved that ordering for that user–I want it to apply globally, to all users.

    I found some posts regarding ordering metaboxes but before trying that, was wondering if is there a feature in this plugin that I’m missing.

    Thanks.

    http://wordpress.org/extend/plugins/custom-content-type-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor fireproofsocks

    @fireproofsocks

    It only saved the setting for one user? I’ve never heard of that — the drag and drop order should apply globally. I didn’t build out any support for user-specific settings. Could you put together a Jing screencast of this?

    Plugin Contributor fireproofsocks

    @fireproofsocks

    A thought just occurred to me: did you SAVE the field order? When you’re on the manage-fields page, the changes are not preserved unless you click the save button at the bottom of the page.

    Thanks, fireproofsocks.

    Just to clarify the issue, it’s not the Custom Content Type Manager’s manage custom fields page at /wp-admin/admin.php?page=cctm&a=list_pt_associations&pt=mycustomposttype that I’m having trouble with. It’s the /wp-admin/post-new.php?post_type=mycustomposttype page.

    I am able to rearrange the order of the custom fields within the Custom Fields grouping at /wp-admin/admin.php?page=cctm&a=list_pt_associations&pt=mycustomposttype; however,I can’t rearrange the order of the custom fields in relation to the default WP body textarea.

    Current ordering on new cusotm post form:

    1) Title textfield (default WordPress)
    2) Body textarea (default WordPress)
    3) Platinum SEO pack fields
    4) Discussion fields
    5) Author dropdown
    6) Custom Fields grouping, which contains the various custom fields

    Desired ordering:

    1) Title textfield (default WordPress)
    2) Body textarea (default WordPress)
    3) Custom Fields grouping, which contains the various custom fields
    4) Platinum SEO pack fields
    5) Discussion fields
    6) Author dropdown

    P.S. I’m not familiar with Jing but will look into it if the above doesn’t explain it.

    Thanks.

    Plugin Contributor fireproofsocks

    @fireproofsocks

    The location of the title and body stuff is hard-coded in WordPress…. as far as the metaboxes go, WordPress’s implementation there isn’t very sensible (imo), but you should be able to get what you want there (provided the other plugins are using different settings for their metaboxes).

    You can change the “priority” and the “context” of a metabox: create your own MetaBox in the CCTM by clicking on CCTM –> Content Types –> Manage Custom Fields –> Create New Metabox

    http://yoursite/wp-admin/admin.php?page=cctm&a=create_metabox

    See https://code.google.com/p/wordpress-custom-content-type-manager/wiki/MetaBoxes

    I think you’re after the “Advanced” context using a “Hight” priority.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Custom fields ordering on WP Admin side’ is closed to new replies.