在e/class/function.php相应位置添加ClickPicNext函数//替换禁用字符
function ReplaceWord($newstext) {
global $empire,
$dbtbpre;
if (empty($newstext)) {
return $newstext;
}
$sql = $empire – >query("select newword,oldword from {$dbtbpre}enewswords");
wpre > //把图片替换成链接
//—————————-
function ClickPicNext($newstext) {
// global $empire,$dbtbpre;
if (empty($newstext)) {
return $newstext;
}
$newstext = preg_replace('//i', "$0", $newstext);
return $newstext;
}
然后,在大约1962行,即在以下代码后:
if($public_r['opencopytext'])
{
$add[newstext]=AddNotCopyRndStr($add[newstext]);//随机复制字符
}
添加一行
$add[newstext]=ClickPicNext($add[newstext]);
这样,点击文章中的图片,就可以链接至下一页了。
上面是“帝国cms文章图片如何自动添加下一页链接”的全面内容,想了解更多关于 帝国cms 内容,请继续关注web建站教程。
当前网址:https://ipkd.cn/webs_1369.html
workflows工作流
一只白色的孔雀ComfyUI工作流
一只迷人的黑豹ComfyUI工作流
一座生动的点彩主义灯塔ComfyUI工作流
坐落在白雪覆盖的广阔平原上2只可爱的雪豹
一只猫捧着一条鱼ComfyUI工作流
一座精致透明的白瓷人物雕塑comfyui工作流
一个时间旅行女人的神秘剪影ComfyUI工作流
羚羊安上小白兔的门牙ComfyUI工作流
猜你喜欢
声明:本站提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请发送到邮箱:admin@ipkd.cn,我们会在看到邮件的第一时间内为您处理!