I'm trying to create a WordPress site that integrates with a very specific CRM in a remote server. The CRM holds a number of entries that should be displayed on the site, but if possible I'd like to avoid exporting and importing them into WordPress.
Instead, the WordPress site must be able to take in a custom permalink, such as:
And then retrieve the entry with ID 4573 from the remote server. Now, the retrieval itself is straightforward, but what about the custom permalink?
Ideally, WordPress would detect the 'property' keyword and then load a specific template for doing all the heavy lifting. With the ID, I can then perform a request and style all the resulting data into a page without ever needing a post type.
¿How can I create such a permalink structure and make WordPress detect that in a theme template?
Aucun commentaire:
Enregistrer un commentaire