| 开发者 | kerkenit |
|---|---|
| 更新时间 | 2026年7月6日 23:33 |
| PHP版本: | 5.9 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[kei_children orderby="menu_order" order="ASC" split=" - " col="3" hr="true"]
Explanation of the code above:
title extra title which is practicaly not used.
orderby sorts by the menu order defined in the menu structure.
order can be ASC for ascending or DESC for descending.
split is used to split the page title and replace it with a <br>.
col is used for columns. Right now it only supports 2, 3, and 4 for 2, 3, and 4 columns respectively.
hr can be true or false. When true it creates a horizontal line between the children. When used in combination with above col it generates a horzontal line between the rows.Yes, this is useful for correct sorting.
You can use this as many times as you want.
It is optimized to work with Enfold, but it may also work with many other themes. However, you will need to style it yourself.