Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Add custom fields capability to pages
- add_action( 'init', 'add_fields_to_pages');
- function add_fields_to_pages() {
- add_post_type_support( 'page', 'custom-fields' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement