0
votes
1answer
72 views

Post AND page parameter for WP function

Is there no post AND page parameter for WordPress functions? So would I have to create a custom post type to define post AND page? For example, add_meta_box( $id, $title, $callback, $post_type, ...
-1
votes
1answer
82 views

Create option for custom posts types

I'd like to add options to a custom post type and I have no idea how to deal with it. Options should be treated as parameters for my custom post type. For instance I'll get a "Plublic / private" flag ...