0

First off, here is my url: http://tini.link

So, basically, everything is going well. I have a completely custom homepage, with anti-spam and all that. Then a results page, with all sorts of special stuff. But, I want to customise the stats page.

I have worked out how to customise the admin pages. It's in includes/function-html.php. But if you customise the menus in there, they do not carry over to stats page.

Any ideas on where I can customise the stats page?

4

1 回答 1

0

我从这个问题中了解到,你需要这个 - http://www.php.net/manual/en/function.include.php

在单独的 PHP 文件中创建菜单并将其包含在您需要菜单的任何位置。假设您的菜单在menu.php

includes/function-html.phpstats.php(假设)中,无论您需要菜单,请执行以下操作。

<?php
...

//include menu here
include 'path/to/your/menu.php';
...

通过这样做,您可以进行自定义menu.php,它会在您包含它的任何地方反映出来。

注意 -如果这不是您想要的,请在评论中告诉我。

于 2014-04-25T04:52:03.603 回答