Skip to content

Commit

Permalink
Revert "Merge pull request owen0o0#8 from jeeinn2012/master"
Browse files Browse the repository at this point in the history
This reverts commit 3224781, reversing
changes made to 41788ce.
  • Loading branch information
owen0o0 committed Dec 17, 2019
1 parent 3224781 commit 0b52122
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 4 additions & 2 deletions footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@
<?php endif; ?>
<?php wp_footer(); ?>
<!-- 自定义代码 -->
<?php echo io_get_option('code_2_footer');?>
<script>
<?php echo io_get_option('foot_code');?>
</script>
<!-- end 自定义代码 -->
</body>
</html>
</html>
5 changes: 2 additions & 3 deletions single-sites.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@

<p><?php echo get_post_meta(get_the_ID(), '_sites_sescribe', true) ?></p>
<?php
$m_post_link_url = $m_link_url ?: get_permalink($post->ID);
$qrurl="https://my.tv.sohu.com/user/a/wvideo/getQRCode.do?width=150&height=150&text=". $m_post_link_url;
$qrurl="https://my.tv.sohu.com/user/a/wvideo/getQRCode.do?width=150&height=150&text=". $m_link_url;
$qrname = "手机查看";
if(get_post_meta(get_the_ID(), '_wechat_qr', true)){
$qrurl=get_post_meta(get_the_ID(), '_wechat_qr', true);
Expand Down Expand Up @@ -142,4 +141,4 @@
</div>

</div>
<?php get_footer(); ?>
<?php get_footer(); ?>
3 changes: 1 addition & 2 deletions templates/site-card.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>

<?php
if($link_url=="") $link_url = get_permalink($post->ID);
$qrurl = $link_url;
$is_html = '';
if(get_post_meta($post->ID, '_wechat_qr', true)){
Expand Down Expand Up @@ -46,4 +45,4 @@
<p class="overflowClip_2"><?php echo get_post_meta($post->ID, '_sites_sescribe', true) ?></p>
</div>
</div>
</a>
</a>

0 comments on commit 0b52122

Please sign in to comment.