## 前言 这个需要配合后台api接口,并无开源,只是笔记. --- ## handsome 镶嵌专注统计 在typecho后台->控制台->外观->handsome设置外观->开发者设置->全局右侧边栏广告位 填写: ```html ``` 这是我写的vue打包特质的简洁版页面,也可以访问网站查看完整版。 [scode type="green" size=""]https://todo.yuhenm.top/[/scode] --- ## handsome删除广告位显示的广告 如果是上一个步骤写的,会在最前方出现一个广告标志,我们需要改变php代码: 在handsome主题位置: /usr/themes/handsome/component 选择sidebar.php,改变显示: ```php options->adContentSidebar != ""): ?> options->adContentSidebar(); ?> ``` --- Loading... ## 前言 这个需要配合后台api接口,并无开源,只是笔记. --- ## handsome 镶嵌专注统计 在typecho后台->控制台->外观->handsome设置外观->开发者设置->全局右侧边栏广告位 填写: ```html <iframe src="https://todo.yuhenm.top/typecho.html" width="100%" height="200" frameborder="0"></iframe> ``` <iframe src="https://todo.yuhenm.top/typecho.html" width="100%" height="200" frameborder="0"></iframe> 这是我写的vue打包特质的简洁版页面,也可以访问网站查看完整版。 <div class="tip inlineBlock success"> https://todo.yuhenm.top/ </div> --- ## handsome删除广告位显示的广告 如果是上一个步骤写的,会在最前方出现一个广告标志,我们需要改变php代码: 在handsome主题位置: /usr/themes/handsome/component 选择sidebar.php,改变显示: ```php <?php if ($this->options->adContentSidebar != ""): ?> <!--广告位置--> <section id="a_d_sidebar" class="widget widget_categories wrapper-md clear"> <?php $ad_title = Utils::getExpertValue("ad_title",_mt("专注统计 · 简约版")); if ($ad_title!=""): ?> <h5 class="widget-title m-t-none"><?php echo $ad_title; ?></h5> <?php endif; ?> <?php $this->options->adContentSidebar(); ?> </section> <?php endif; ?> ``` --- 最后修改:2025 年 06 月 04 日 © 允许规范转载 打赏 赞赏作者 支付宝微信 赞 如果觉得我的文章对你有用,请随意赞赏