Forums

WordPress custom menus

I want to avoid leaving responsibility to the user to create/update the menu, which will be based on a custom post type.

I want to avoid simply listing them using get_posts() as the user has nowhere to reorder the menu if they so wish, and creating the menu before handing over to the user is fine, but it relies on the user having to add/update/delete posts in the future.

Ideally, I want to create a function that gets all posts under the custom post type, creates a custom menu with custom links (need to link to an ID on the page rather than a single.php)