看到论坛好多人在问怎么样把Chevereto的图片展示页面从”关于”改为”嵌入代码”页面, 其实方法很简单, 只需要修改app/routes/route.image.php文件.
$tabs = [
[
"label" => _s(\'About\'),
"id" => "tab-about",
"current" => true,
]
];
if(CHV\getSetting(\'theme_show_embed_content\')) {
$tabs[] = [
"label" => _s(\'Embed codes\'),
"id" => "tab-codes",
];
}
修改为
$tabs = [
[
"label" => _s(\'About\'),
"id" => "tab-about",
]
];
if(CHV\getSetting(\'theme_show_embed_content\')) {
$tabs[] = [
"label" => _s(\'Embed codes\'),
"id" => "tab-codes",
"current" => true,
];
}
文章来源:https://www.openos.org/post/610/
© 版权声明
文章来源于网络收集,如有侵权,请联系删除。
THE END
暂无评论内容