I am currently integrating a third party cms api into wordpress. I am current trying to set up a dynamic page where if someone goes to:
they will be displayed with a page containing the information for that specific module passed through from the API call. Where im a little stuck is how to best display that page.
The most obvious answer to me is to have the plugin attach some sort of URL hook for a specific URL structure, then load up a page with the information.
I have looked at codex and support sites and i cannot find a way of doing this. The closest i have been able to get is either create a custom post type with a custom template and generate "dummy" posts with basic information. Or create a normal wordpress page, with a custom template and then use "rewrite_rules_array" to tell wordpress any /module/ url goes to this page. But this only affects content and wordpress will still use the page's title/meta/seo content (which needs to also be dynamic based on the module name/id).
Am i simply thinking along the wrong lines (i am new to wordpress development). Whats the best approach for this and could you give me some pointers on resources to look up for the suggested "best approach".
Any help is greatly appreciated, thanks