Cuixiping
Cuixiping
@M69W 你把你的PHP以及数据库导出一份打包发我,我替你看看。注意数据脱敏,你可以先在本地克隆一份然后将不需要的数据清除,数据库导出的SQL要utf8编码的,我看你上面那个zip里面好像不是utf8的。发到我邮箱 `[email protected]`
@M69W 你稍微看一些php debug教程,这是个小问题,直接断点就很清楚了
@M69W AI给了怎样的改动解决的呢?
改主题就行
可以在主题的 functions.php 里面写 ``` function thePrev($widget, $default = NULL) { } function theNext($widget, $default = NULL) { } ```
@hatsunemiku-official 复制过去,把分类条件加进去. ```php ->join('table.relationships', 'table.contents.cid = table.relationships.cid') ->where('table.relationships.mid = ?', intval($widget->categories[0]['mid'])) ```
代码和数据库里,替换 `` 为 `` 或者其它你喜欢的标记 😆
如果你希望切换主题不影响这个自定义字段,那就通过插件添加自定义字段即可. 在 `Plugin.php` 文件中的 `public static function pluginFields($layout)` 函数内添加自定义字段.
😲 Hello, friend from Iran. The search functional of typecho has more issues need to be improved. Why do you need searching html code? Normal visitors need not. As a...
用插件做啊