WordPress.org

Support

Support » How-To and Troubleshooting » Displaying a custom page template with a shortcode

Displaying a custom page template with a shortcode

  • Hello everyone,

    A have a bunch of pages containing contact details of different staff members. On each page data is stored in custom fields and I’d like all those pages to use a particular custom page template. That template uses page meta data (i.e. contact details from custom fields) to display information in a table.

    Is there a way to display one of those pages using a shortcode? I do know how to display the content of a certain page (see the link below) but I actually need its meta data to be displayed in a defined custom page template.

    http://pastebin.com/AwRGcwmH

    Thanks in advance!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying a custom page template with a shortcode’ is closed to new replies.