I realize that one can add custom links through the menu manager but is there a way to manually create such components through the functions.php file?

More specifically, one example here relates to a situation I currently have where I created a custom post type for "events" meaning all associating posts show up like domain.com/events/events-name-abc/ and where the main events page domain.com/events/ is just defined through a custom post type template. As such, when using the admin menu manager interface there is no way for a user to see this main "events" page as an option to add to his menu.

Ideally, I am looking for some example code I can add to my functions.php file which would allow me to define/code in such items manually (with the optional ability to pre-defining custom attributes like a predefined class) and have any of these elements automatically added as options to any of the menu manager meta-boxes or places into a custom meta-box.

Any plugins or code anyone is aware of which extend the menu manager to allow for such functionality?

link|improve this question

feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.