如何删除RT-Theme 18里文章和Portfolio特色图像?

Yoth Blog

如何删除RT-Theme 18里文章和Portfolio特色图像?

Upcoming Sessions
Table of Contents
    Add a header to begin generating the table of contents

    删除文章Page的特色图像:

    路径:wp-content/themes/rttheme18/content-page.php

    中: Line: 13-18

    				
    							<?php if ( has_post_thumbnail() && ! post_password_required() ) : ?>
    		<div class="entry-thumbnail">
    			<?php the_post_thumbnail(); ?>
    		</div>
    		<?php endif; ?>			
    		
    				
    			

    删除Portfolio里的特色图像

    路径:/wp-content/themes/rttheme18/portfolio-contents/content.php

    Line: 155-176

    				
    												<!-- portfolio image -->
    								<div class="imgeffect"> 
    
    									<?php 
    										//create lightbox link
    										if( ! $disable_lightbox ){
    											do_action("create_lightbox_link",
    												array(
    													'class'            => 'icon-zoom-in lightbox_ single',
    													'href'             => $image_output["image_url"],
    													'title'            =>  esc_html_x('Enlarge Image','Frontend Text','rt_theme'),
    													'data_group'       => 'single_portfolio',
    													'data_title'       => $image_output["image_title"],
    													'data_description' => $image_output["image_caption"]
    												)
    											);
    										}
    									?>
    
    									<img decoding="async" loading="lazy" src="<?php echo esc_url($image_output["thumbnail_url"]) ?>" alt="<?php echo esc_attr($image_output["image_alternative_text"]) ?>" title="<?php echo esc_attr($image_output["image_title"]) ?>" />	
    
    								</div>
    				
    			
    Facebook
    Twitter
    LinkedIn

    Maybe You Like

    WordPress

    Astra

    RT Theme

    Scroll to Top