Grow your CSS skills. Land your dream job.

WordPress custom menus

  • # April 22, 2013 at 11:21 am

    Can they be created from the functions.php?

    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)

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".