Emlog侧边栏标题添加超链接
Emlog侧边栏标题实现超链接跳转,只需要修改module.php中各侧边栏相应的标题,给标题添加上超链接就行,效果图及范例代码如下:
以下代码以日历为例,给日历添加上超链接:
<?php //日历 function widget_calendar($title){ ?> <div class="widget"> <h3><a href="http://www.noteet.com/?plugin=archiver" target="_blank"><?php echo $title; ?><a></h3> <div id="calendar"> </div> <script>sendinfo('<?php echo Calendar::url(); ?>','calendar');</script> </div> <?php }?>
更多精彩