Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metabox list for Native Field Custom Choice #3

Open
samjco opened this issue Mar 12, 2019 · 5 comments
Open

Metabox list for Native Field Custom Choice #3

samjco opened this issue Mar 12, 2019 · 5 comments

Comments

@samjco
Copy link

samjco commented Mar 12, 2019

Here are the div id for each metabox to add into Native Custom field:
image

Here's is a list:

Post submit meta box:
submitdiv

Post tags meta box:
tagsdiv-post_tag

Post categories meta box:
categorydiv

Post excerpt meta_box
postexcerpt

Post trackback meta box:
trackbacksdiv

Post custom meta box:
postcustom

Post comment status meta box:
commentstatusdiv

Post comment meta box:
commentsdiv

Post slug meta box:
slugdiv

Post author meta box:
authordiv

Post revisions meta box:
revisionsdiv

Page attributes meta box:
pageparentdiv

Link submit meta box:
linksubmitdiv

Link categories meta box:
linkcategorydiv

Link target meta box:
linktargetdiv

Link xfn meta box:
linkxfndiv

Link advanced meta box:
linkadvanceddiv

Post/Page thumbnail meta box:
postimagediv

@samjco samjco changed the title More metabox supports Metabox list for Native Field Custom Choice Mar 16, 2019
@hacknug
Copy link

hacknug commented Mar 21, 2019

@samjco are you requesting support for all of these or you're just listing them?

I'm planning on closing #2 tomorrow and will probably look into adding support for WooCommerce's native fields if installed. I can take a look into adding some of this on the same PR.

@samjco
Copy link
Author

samjco commented Mar 21, 2019

At first it was support for these until I seen the support for custom fields.

So now that I understand how it works, I am just giving a #tip #how-to for other user!

@hacknug
Copy link

hacknug commented Mar 21, 2019

Perfect! Do you know if they'll work on Gutenberg too?

Maybe we could add a table to the readme file with all of them? What do you think @marcusforsberg?

@marcusforsberg
Copy link
Member

Thanks for the list, @samjco, this is great.

I think it would make sense to include these as options directly in the plugin by default. If either one of you would like to include them in a PR it would be very welcome. WooCommerce support would be awesome as well, @hacknug, I actually needed that just the other day and resorted to the "custom" option with the manual ID. 😄

@hacknug
Copy link

hacknug commented Mar 22, 2019

@samjco can you tell me how to get those fields to show up so I can test it further before adding them all? PR is almost ready 🎉

  • Post custom: postcustom

EDIT: Seems like the Link Manager has been disabled by default since WordPress v3.5. Do you think we really need those? UI for the Link Manager is somewhat broken on WP v5.1.1.

  • Link submit: linksubmitdiv
  • Link categories: linkcategorydiv
  • Link target: linktargetdiv
  • Link xfn: linkxfndiv
  • Link advanced: linkadvanceddiv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants