-1

I am working on a plugin and I like to utilize the WordPress's native admin UI for post listing and post editing screen for my own data structure.

Does anybody has an idea or guidelines please?

1 Answer 1

1

The tables are built with WP_List_Table class, but can be re-built visually (no ordering/filtering built in) by copying html.

The post list and the posts edit screens for custom post types will be the standard UI - its your metaboxes that will require some manual copying of Wordpress styles.

There's these site and project that helps with classes and colours:

Using web browser inspector you can find the classnames of Wordpress elements and reuse them, for example for grey vs blue main buttons it's: .button and .button.button-primary.button-large

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.