File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 82
82
<?php endif ; ?>
83
83
<?php wp_footer (); ?>
84
84
<!-- 自定义代码 -->
85
- <script>
86
- <?php echo io_get_option ('foot_code ' );?>
87
- </script>
85
+ <?php echo io_get_option ('code_2_footer ' );?>
88
86
<!-- end 自定义代码 -->
89
87
</body>
90
- </html>
88
+ </html>
Original file line number Diff line number Diff line change 57
57
58
58
<p><?php echo get_post_meta (get_the_ID (), '_sites_sescribe ' , true ) ?> </p>
59
59
<?php
60
- $ qrurl ="https://my.tv.sohu.com/user/a/wvideo/getQRCode.do?width=150&height=150&text= " . $ m_link_url ;
60
+ $ m_post_link_url = $ m_link_url ?: get_permalink ($ post ->ID );
61
+ $ qrurl ="https://my.tv.sohu.com/user/a/wvideo/getQRCode.do?width=150&height=150&text= " . $ m_post_link_url ;
61
62
$ qrname = "手机查看 " ;
62
63
if (get_post_meta (get_the_ID (), '_wechat_qr ' , true )){
63
64
$ qrurl =get_post_meta (get_the_ID (), '_wechat_qr ' , true );
141
142
</div>
142
143
143
144
</div>
144
- <?php get_footer (); ?>
145
+ <?php get_footer (); ?>
Original file line number Diff line number Diff line change 1
1
<?php if ( ! defined ( 'ABSPATH ' ) ) { exit ; } ?>
2
2
3
3
<?php
4
+ if ($ link_url =="" ) $ link_url = get_permalink ($ post ->ID );
4
5
$ qrurl = $ link_url ;
5
6
$ is_html = '' ;
6
7
if (get_post_meta ($ post ->ID , '_wechat_qr ' , true )){
45
46
<p class="overflowClip_2"><?php echo get_post_meta ($ post ->ID , '_sites_sescribe ' , true ) ?> </p>
46
47
</div>
47
48
</div>
48
- </a>
49
+ </a>
You can’t perform that action at this time.
0 commit comments