RiPro主题6.X开启鼠标划过网格加载动效后不能点击解决办法

打开ripro/inc/theme-functions.php
搜索
// 获取图片高度 //NEW
或者
entry-media

// 获取图片高度 //NEW
function cao_entry_media() {
  global $post;
  $ratio = cao_thumbnail_ratio(); ?>
  <div class="entry-media">
    <div class="placeholder" style="padding-bottom: <?php echo esc_attr( $ratio ); ?>;">
      <a<?php echo _target_blank();?>  href="<?php%20echo%20esc_url(%20get_permalink()%20);%20?>">
        <img class="lazyload" data-src="<?php%20echo%20esc_url(_get_post_timthumb_src());%20?>" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" alt="<?php echo get_the_title(); ?>">  
     
      <?php if (_cao('post_tim_rload','1')) {  ?>
      <div class="cao-cover"><img src="<?php%20echo%20get_template_directory_uri();?>/assets/images/svg/rings.svg" width="50" height="50px"></div>
      <?php } ?>
      </a>
    </div>
    <?php get_template_part( 'parts/entry-format' ); ?>
  </div>
  <?php
}

 

评论0

请先

本站临时QQ客服236249898
没有账号? 忘记密码?