Thanks for your help so far!
-When adding your code to functions.php, the site crashes.
-When creating a custom plugin with your code, nothing happens.
-However, I searched a bit and found out that this piece of code is acutally adding ‘pages’ to your widget. Unfortunately, on the front end, it’s not displaying results ??
add_action( 'init', 'pages_tax' );
function pages_tax() {
register_taxonomy(
'things',
'page',
array(
'label' => __( 'Things' ),
'rewrite' => array( 'slug' => 'things' ),
'hierarchical' => true,
)
);
}
Maybe I am thinking far to easy, but why not simply adding a piece of code to the current plugin and add ‘pages’?