Wordpress, how to add link to sites menu
Posted on 2014-09-03
I'm creating my first wordpress plugin. I've created the admin side of things without any problem. However now I need to make the plugin accessible on the frontend of the website.
I've tried searching Google but I'm not really getting an concrete answers on where I start.
I need to create a menu item in the sites main menu which links to the plugin so I can display various information on that page. The only information I can find so far would insinuate that I need to create a shortcode, create a page and add the shortcode into the page. Is this really the correct way to do this?
I have a wordpress book on my desk, it's been a great help when doing the backend of the plugin, but doesn't give me any information at all about integrating with the frontend of the website.
For reference, if it helps, the plugin creates a few custom database tables which will hold the rates of different members of staff. The backend allows an administrator to filter and edit the rates for different job roles, while also providing a CSV import to be able to populate the database. What I need to do now is display this information on it's own page of the website.