Using shortcode to create a custom template?
-
2 Questions
Is it possible to Display different parts of the provider information throughout different parts of a page using the shortcode?
Something like using [staff-name] on the top part of my page, and then using [staff-image] on the bottom somewhere?
Next question is, is it possible to adjust the id of the page the shortcodes are on by the URL coming to the page. Ex: https://www.site.com/staff-members?id=213
This would cause the staff-name and image shortcodes to display staff member 213’s name and image.
- The topic ‘Using shortcode to create a custom template?’ is closed to new replies.