File: /www/wwwroot/www.ycfawu.com/wp-content/themes/twentytwentythree/post-ycfw.php
<?php
/*
Template Name: 优诚法务-文章页
Template Post Type: post, page, event
*/
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
<title><?php
if ( function_exists( 'wpseo_replace_vars' ) ) {
$yoast_title = get_post_meta( $post->ID, '_yoast_wpseo_title', true );
$parsed_title = wpseo_replace_vars( $yoast_title, $post );
echo $parsed_title;
}
?></title>
<meta name="keywords" content="<?php echo get_post_meta(get_the_ID(), '_yoast_wpseo_focuskw', true); ?>" />
<meta name="description" content="<?php echo get_post_meta(get_the_ID(), '_yoast_wpseo_metadesc', true); ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo get_parent_theme_file_uri('assets/css/swiper.min.css'); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo get_parent_theme_file_uri('assets/css/common.css'); ?>">
<link rel="stylesheet" type="text/css" href="<?php echo get_parent_theme_file_uri('assets/css/psot.css'); ?>">
<script type="text/javascript" src="<?php echo get_parent_theme_file_uri('assets/js/swiper.min.js'); ?>"></script>
<script type="text/javascript" src="<?php echo get_parent_theme_file_uri('assets/js/jquery-3.3.1.min.js'); ?>"></script>
<?php get_header(); ?>
<style>
#header { display: none; }
#header + hr { display: none; }
</style>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?2bebbfa1ab7741947530356387f6fe01";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
<body>
<div class="wap">
<div>
<img src="<?php echo get_parent_theme_file_uri('assets/images/m_index/banner1.jpg'); ?>" alt="优诚法务">
</div>
<div class="mianbao">您的位置: <a href="/" style="color: inherit; text-decoration: none;" >首页</a> > <?php the_title( '<span>', '</span>' ); ?></div>
<div>
<?php the_title( '<h3 style=" font-size: 16px; margin-top: 20px;">', '</h3>' ); ?>
<p style="text-align: center;"><?php the_time('Y-n-j H:i') ?></p>
<div class="content" style="min-height: 600px; margin-top: 30px;">
<?php the_content(); ?>
</div>
</div>
<div>
<img src="<?php echo get_parent_theme_file_uri('assets/images/m_about/footer_img.jpg'); ?>" alt="优诚法务">
</div>
</div>
<div class="pc">
<?php get_header('ycfw'); ?>
<div style="height: 565px; background-image: url('<?php echo get_parent_theme_file_uri('assets/images/banner.jpg'); ?>'); background-position: center;"></div>
<div style="background-color: #cacbd1;">
<div class="w_1200" style="line-height: 40px; color: #666;">您的位置:<a href="/" style="color: inherit; text-decoration: none;" >首页</a> > <?php the_title( '<span>', '</span>' ); ?></div>
</div>
<div class="w_1200" style="padding: 10px 0 50px;">
<div style="width: 750px; margin: 0 auto;">
<?php the_title( '<h3 style=" margin-top: 20px;">', '</h3>' ); ?>
<p style="text-align: center;"><?php the_time('Y-n-j H:i') ?></p>
<div class="content" style="min-height: 600px; margin-top: 30px;">
<?php the_content(); ?>
</div>
</div>
</div>
<?php get_footer('ycfw'); ?>
</div>
</body>
</html>