It's better when it's simple

User Tools

Site Tools


flat Template

Compatible with DokuWiki

  • 2023-04-04 "Jack Jackrum" unknown
  • 2022-07-31 "Igor" unknown
  • 2020-07-29 "Hogfather" yes
  • 2018-04-22 "Greebo" unknown

template Wordpress template for DokuWiki

Last updated on
changes, nspages

Tagged with cms, responsive, wordpress

You can preview this sample on my demo website

My first Wordpress template conversion for Dokuwiki. Responsible design for smartphones.


  • CSS fix
  • Jquery update for menu in smartphone and tablet resolution

Download and Install

Use the following URL to download this template:

Refer to template on how to install and use templates in Dokuwiki.


First install nspages and changes plugins and enable HTML embended code (see htmlok). I use them in sidebar. If not install Flat not work properly.

Create 3 posts (as usual in dokuwiki) with theses contents and setup Flat in configuration page:

Post 1: Use this as sidebar post (use this post in sidebar setting in Basic)

<li class="fa fa-home menu-item menu-item-type-custom">
    <a href="?id=start">Home</a>
<li class="fa fa-star menu-item menu-item-type-custom">
    <a href="?id=sitographie">Sitographie</a>
<li class="fa fa-code menu-item menu-item-type-custom">
  <a href="?id=projectDev">Projets developpements</a>
<li class="fa fa-envelope menu-item menu-item-type-post_type menu-item-object-page">
  <a href="?id=contact">Contact</a>

to change icon (fa-xxxx):

Post 2: Use this one as recent posts (use this post in topsidebar in flat parameter template)

<nspages -h1 -textPages="" -simpleList -nbItemsMax=5 -r -sortByDate -reverse -exclude -exclude:sidebar >

Post 3: Use this one as categories (use this post in bottomsidebar in flat parameter template)

<nspages -simpleList -subns -nopages -textNS="">

For nspages and changes please contact or see their docs on their plugins pages.


If you want to display all post for a namespace use pagequery plugin and for example in start post put this


You can preview this sample on my demo website

template/flat.txt · Last modified: 2022-07-30 00:18 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki