1====== Display Wiki Page ====== 2 3===== About ===== 4 5This plugin defines an additional template function such that you can display more than one wiki page at a time on any given document. 6 7===== Setup ===== 8 9The plugin also exports a function for use with your template, so you will have to insert the following code into your template, at the top of the page should suffice. 10 11<code php> 12<?php if (file_exists(DOKU_PLUGIN.'displaywikipage/code.php')) include_once(DOKU_PLUGIN.'displaywikipage/code.php'); ?> 13</code> 14 15**Note**: Inserting the code above is **required**, not optional. 16 17To display a wiki page at any point in your document, use the following code: 18 19<code php> 20<?php if (function_exists('dwp_display_wiki_page')) dwp_display_wiki_page(":path:to:page"); ?> 21</code> 22 23===== For template developers ===== 24 25Using the above code in this fashion will allow your users to use the template whether or not you have the plugin installed. 26 27===== Support ===== 28 29For further support or discussion, please see the official plugin page [[doku>plugin:displaywikipage|here]]. 30 31If you find this plugin useful, please consider supporting the project via [[http://tjgrant.com/wiki/donate|Donations]] or [[https://github.com/sponsors/tatewake|Sponsorships]]; thank you! 32