0
votes
1answer
97 views

How to load several hierarchical categories from functions.php

I need to insert several categories (about 400) into my site. The categories are hierarchical. I would like to load them from functions.php but now I can add one category at time, like this: ...
1
vote
1answer
41 views

Modifying Custom Post Type after registration (will it affect content?)

I have a CPT (defined in functions.php) that I have set to as non-hierarchical. A lot of content has already been uploaded into the database. If I change the definition to 'hierarchical' => true, ...
2
votes
1answer
50 views

How can I get an <h2> tag to wrap each ancestor that gets outputted in this condition?

I found this snippet in a different thread and it mostly does what I need, but I'm having trouble wrapping the individual pages this outputs with tags. All I can seem to add is a line break. I don't ...
0
votes
1answer
977 views

Adding Pages to Menus - No Page Hierarchy in Backend [duplicate]

Possible Duplicate: How to add a custom metabox to the Menu Management admin screen? In the backend of Wordpress, under Appearance -> Menus it allows you to add different post types by ...
6
votes
2answers
2k views

How to add a custom metabox to the Menu Management admin screen?

Although I am very thankful to the wordpress core team that they have finally integrated native menu management capabilities I get frustrated with some key elements which I would like to change. I ...