2017-12-28 18 views

Antwort

0

Sie können den folgenden Code in functions.php im Theme-Ordner hinzufügen:

function myplugin_settings() { 
    // Add tag metabox to page 
    register_taxonomy_for_object_type('post_tag', 'page'); 
    // Add category metabox to page 
    register_taxonomy_for_object_type('category', 'page'); 
} 
// Add to the admin_init hook of your theme functions.php file 
add_action('init', 'myplugin_settings'); 
Verwandte Themen