Commit 153d43f2 by Orine Matsui

ステージ最新をDL

parent db86ec20
......@@ -8203,7 +8203,6 @@ body {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
flex-direction: column;
margin-bottom: 40px;
}
......@@ -8223,27 +8222,12 @@ body {
color: #fff;
padding-top: 24px;
}
.p-atc-mv-label {
font-size: 1.8rem;
line-height: 35px;
font-family: a-otf-midashi-go-mb31-pr6n, sans-serif;
font-weight: bold;
text-align: center;
color: #fff;
padding: 0 45px;
background-color: #beac56;
}
@media screen and (max-width: 767px) {
.p-atc-mv-ttl {
font-size: 2rem;
padding: 0 20px;
}
.p-atc-mv-label {
font-size: 1.4rem;
line-height: 26px;
padding: 0 25px;
margin-bottom: 30px;
}
}
.p-atc-mv-ttl span {
......
<footer class="c-footer">
<div class="c-footer__inner">
<div class="c-footer__block">
<div class="c-footer__info">
<div class="c-footer__logo">
<a href="/"><img src="/assets/img/common/logo_footer.png" alt="ACHIEVEMENT" width="100" height="84"></a>
</div>
<div class="c-footer__phone">
<p class="pc-only">0120-000-638</p>
<a href="tel:0120000638" class="sp-only">0120-000-638</a>
<span>受付時間:10:30-17:00(月~土曜日)</span>
</div>
<ul class="c-footer__sns">
<li><a href="https://www.facebook.com/achievementcorp/" target="_blank"><img src="/assets/img/common/icon_facebook.png" alt="FACEBOOK" width="50" height="50"></a></li>
<li><a href="https://www.youtube.com/user/achievementCH" target="_blank"><img src="/assets/img/common/icon_youtube.png" alt="YOUTUBE" width="44" height="50"></a></li>
</ul>
</div>
<nav class="c-footer__nav">
<ul class="c-footer__list">
<li>
<a href="/service/" class="showSp">サービス</a>
<ul class="c-footer__listsub">
<li><a href="/service/top/">『頂点への道』講座</a></li>
<li><a href="/service/penetration/">理念浸透・組織変革</a></li>
<li><a href="/service/management/">マネジメント</a></li>
<li><a href="/service/sales/">営業力強化</a></li>
<li><a href="/service/rt/">人間関係</a></li>
</ul>
</li>
<li><a href="/faq/">よくある質問</a></li>
</ul>
<ul class="c-footer__list">
<li><a href="/beginner/">初めての方へ</a></li>
<li><a href="/pub/schedule#seminar">体験セミナー</a></li>
<li><a href="/case/">お客様事例</a></li>
<li><a href="/trainer/">講師一覧</a></li>
<li><a href="https://recruit.achievement.co.jp/">採用情報</a></li>
<li><a href="/recruit/">採用情報</a></li>
</ul>
<ul class="c-footer__list">
<li>
<a href="/company/" class="showSp">会社情報</a>
<ul class="c-footer__listsub">
<li><a href="/company/philosophy/">企業理念</a></li>
<li><a href="/company/ceo/">代表メッセージ</a></li>
<li><a href="/company/outline/">会社概要</a></li>
<li><a href="/company/officer/">役員紹介</a></li>
<li><a href="/company/csr/">SDGsについての取り組み</a></li>
<li><a href="/company/group/">グループ会社紹介</a></li>
<li><a href="/company/history/">企業沿革</a></li>
<li><a href="/company/access/">アクセス</a></li>
</ul>
</li>
</ul>
</nav>
</div>
<ul class="c-footer__list2">
<li>
<a href="https://shop.achievement.co.jp/" target="_blank"><img src="/assets/img/common/bnr_footer01.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://www.jpsa.net/" target="_blank"><img src="/assets/img/common/bnr_footer02.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="http://www.aokisatoshi.com/" target="_blank"><img src="/assets/img/common/bnr_footer03.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://my.ebook5.net/achievement30/" target="_blank"><img src="/assets/img/common/bnr_footer04.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="http://www.koushihaken.jp/" target="_blank"><img src="/assets/img/common/bnr_footer05.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="http://business-ct.net/" target="_blank"><img src="/assets/img/common/bnr_footer06.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://www.joshi-kai.jp/" target="_blank"><img src="/assets/img/common/bnr_footer07.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://leaders-lounge.achievement.co.jp/" target="_blank"><img src="/assets/img/common/bnr_footer08.jpg" alt="" width="230" height="66"></a>
</li>
<li>
<a href="https://achievement.co.jp/atp/" target="_blank"><img src="/assets/img/common/bnr_footer09.jpg" alt="" width="230" height="66"></a>
</li>
</ul>
<ul class="c-footer__list3">
<li><a href="/member/">アチーブメントクラブ会員のご案内</a></li>
<li><a href="/marc/">会員サイトMARC</a></li>
<li><a href="/business_partner/">月刊ビジネスパートナー</a></li>
<li><a href="/sitemap/">サイトマップ</a></li>
<li><a href="/privacy/">個人情報保護取扱いについて</a></li>
<li><a href="/policy/">プライバシーポリシー</a></li>
<li><a href="/trademark/">商標について</a></li>
<li><a href="/en/">English</a></li>
</ul>
<p class="c-footer__copy">©2020 Achievement Corp.</p>
</div>
<div class="c-toTop"></div>
</footer>
<script src="/assets/js/functions.min.js"></script>
</body>
</html>
......
......@@ -267,3 +267,4 @@ $(function () {
e.preventDefault();
});
});
......
......@@ -139,7 +139,7 @@ set_post_thumbnail_size(600, 346, true);
/*【管理画面】ACF Options Page の設定 */
if( function_exists('acf_add_options_page') ) {
if (function_exists('acf_add_options_page')) {
acf_add_options_page(array(
'page_title' => 'UpdateText', // ページタイトル
'menu_title' => '一括更新テキスト', // メニュータイトル
......@@ -150,10 +150,12 @@ if( function_exists('acf_add_options_page') ) {
}
// 「講演会」本文エディタ削除
function my_remove_post_support() {
remove_post_type_support('experience','editor');
function my_remove_post_support()
{
remove_post_type_support('experience', 'editor');
}
add_action('init','my_remove_post_support');
add_action('init', 'my_remove_post_support');
/*===================================
......@@ -178,7 +180,7 @@ function mfields_set_default_object_terms($post_id, $post)
);
$taxonomies = get_object_taxonomies($post->post_type);
foreach ((array) $taxonomies as $taxonomy) {
foreach ((array)$taxonomies as $taxonomy) {
$terms = wp_get_post_terms($post_id, $taxonomy);
if (empty($terms) && array_key_exists($taxonomy, $defaults)) {
wp_set_object_terms($post_id, $defaults[$taxonomy], $taxonomy);
......@@ -186,6 +188,7 @@ function mfields_set_default_object_terms($post_id, $post)
}
}
}
add_action('save_post', 'mfields_set_default_object_terms', 100, 2);
// function tax_news($termlink, $term, $taxonomy)
......@@ -235,12 +238,12 @@ add_action('save_post', 'mfields_set_default_object_terms', 100, 2);
// }
/*【管理画面】投稿メニューを非表示 */
function remove_menus()
add_action('admin_menu', 'fc_my_remove_menus');
function fc_my_remove_menus()
{
global $menu;
remove_menu_page('edit.php');
}
add_action('admin_menu', 'remove_menus');
// Code viet lai rule cho taxonomy custom post type. Chỉ chạy 1 lần rồi xóa đi.
......@@ -266,5 +269,52 @@ function generate_taxonomy_rewrite_rules($wp_rewrite)
}
$wp_rewrite->rules = $rules + $wp_rewrite->rules;
}
add_action('generate_rewrite_rules', 'generate_taxonomy_rewrite_rules');
/* その他設定
/*---------------------------------------------------------*/
add_action('init', 'fc_disable_emoji');
function fc_disable_emoji()
{
remove_action('wp_head', 'print_emoji_detection_script', 7);
remove_action('admin_print_scripts', 'print_emoji_detection_script');
remove_action('wp_print_styles', 'print_emoji_styles');
remove_action('admin_print_styles', 'print_emoji_styles');
remove_filter('the_content_feed', 'wp_staticize_emoji');
remove_filter('comment_text_rss', 'wp_staticize_emoji');
remove_filter('wp_mail', 'wp_staticize_emoji_for_email');
remove_action('wp_head', 'wp_generator');
remove_action('wp_head', 'wlwmanifest_link');
remove_action('wp_head', 'rsd_link');
remove_action('wp_head', 'wp_shortlink_wp_head');
}
/* ログイン中にwpadminbar を表示
/*---------------------------------------------------------*/
add_filter('show_admin_bar', 'fc_hidden_admin_bar');
function fc_hidden_admin_bar()
{
return false;
}
add_action('admin_head', 'fc_hiden_aiosp_custom_link_wrapper');
function fc_hiden_aiosp_custom_link_wrapper()
{
echo '<style>
#aiosp_custom_link_wrapper {
display: none !important;
}
</style>';
}
add_filter('aioseop_canonical_url', 'fc_custom_aioseop_canonical_url');
function fc_custom_aioseop_canonical_url($url)
{
if (is_page() || is_single()) {
return get_permalink();
}
return $url;
}
......
<?php $pageid="case-kita";?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php
$prof_img = get_field('prof_img');
$introduction = get_field('introduction');
$name = get_field('name');
$mainvisual_image = get_field('mainvisual_image');
?>
<div class="p-case-detail">
<div class="c-breadcrumb pc-only">
<ul class="c-breadcrumb__inner">
<li class="c-breadcrumb__item"><a href="/"><span>TOP</span></a></li>
<li class="c-breadcrumb__item"><a href="/case/"><span>お客様事例</span></a></li>
<li class="c-breadcrumb__item"><span><?php the_title(); ?></span></li>
</ul>
</div>
<section class="c-mainvisual" style="background-image: url('<?php echo $mainvisual_image; ?>')">
<div class="c-mainvisual__inner">
<h2 class="c-mainvisual__title"><?php the_title(); ?></h2>
<p class="c-mainvisual__text"><?php echo $introduction ." ". $name ?></p>
</div>
</section>
<div class="container">
<aside class="side pc-only">
<div class="side__box">
<h3 class="side__mainttl">お客様事例</h3>
<ul class="side__list">
<?php
$args = array (
'posts_per_page' => 12,
'post_type' => 'case',
'order' => 'ASC',
);
$the_query = new WP_Query( $args );
if ($the_query-> have_posts() ) : while ($the_query -> have_posts() ) : $the_query->the_post();
?>
<li class="side__item"><a class="side__txt" href="<?php the_permalink();?>"><?php the_title();?></a></li>
<?php endwhile; endif;?>
</ul>
<?php the_title(); ?>
<?php the_time('Y.n.j'); ?>
<?php while (have_posts()){ the_post();the_content();} ?>
</div>
</aside>
<main class="content">
<section class="p-case-detail1">
<h3 class="c-title1">プロフィール</h3>
<div class="c-imgtext">
<div class="c-imgtext__image">
<?php if( !empty( $prof_img ) ): ?>
<img src="<?php echo $prof_img; ?>" alt="" width="300" height="300">
<?php endif; ?>
</div>
<div class="c-imgtext__info">
<p class="c-imgtext__title"><?php echo $name;?></p>
<p class="c-imgtext__title2"><?php echo $introduction;?></p>
<p class="c-imgtext__text"><?php while (have_posts()){ the_post(); the_content(); } ?></p>
</div>
</div>
<div class="c-step">
<dl>
<dt>課題</dt>
<dd>
<?php if( have_rows('task') ): ?>
<ul>
<?php while( have_rows('task') ): the_row();
$txt_task= get_sub_field('task_text');
?>
<li><?php echo $txt_task; ?></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</dd>
</dl>
<dl>
<dt>効果</dt>
<dd>
<?php if( have_rows('effect') ): ?>
<ul>
<?php while( have_rows('effect') ): the_row();
$txt_effect= get_sub_field('text_effect');
?>
<li><?php echo $txt_effect; ?></li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</dd>
</dl>
</div>
</section>
<?php if( have_rows('content') ): while( have_rows('content') ): the_row();
$content_header = get_sub_field('content_header');
$content_text = get_sub_field('content_text');
?>
<section class="p-case-detail2">
<h3 class="c-title1"><?php echo $content_header; ?></h3>
<p class="trainerSingle2__txt"><?php echo $content_text; ?></p>
</section>
<?php endwhile; endif; ?>
<div class="c-box">
<?php if( have_rows('list_info') ): ?>
<ul class="c-box__list">
<?php while( have_rows('list_info') ): the_row();
$list_img = get_sub_field('list_img');
$list_txt = get_sub_field('list_txt');
?>
<li><img src="<?php echo $list_img; ?>" alt="" width="188" height="138">
<p><?php echo $list_txt; ?></p>
</li>
<?php endwhile; ?>
</ul>
<?php endif; ?>
</div>
<div class="p-case-detail3">
<p>豊かな人間関係と、目標達成を実現する戦略的目標達成プログラム『頂点への道®』講座とは?</p>
<a href="/service/top/"><img src="/assets/img/service/case/banner-01.jpg" alt="" width="900" height="226"></a>
<div class="c-btn1"><a href="/case/">お客様事例一覧を見る</a> </div>
</div>
</main>
</div>
</div>
<script>
$(document).ready(function() {
$(".side__item [href]").each(function() {
if (this.href == window.location.href) {
$(this).parent().addClass("active");
}
});
});
</script>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
......
<?php $pageid="seminar";?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/header.php'); ?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php if( have_rows('themes') ): while( have_rows('themes') ): the_row();
$option = get_sub_field('option');
$theme_1 = get_sub_field('theme_1');
......@@ -59,12 +59,16 @@
<h2 class="c-mainvisual__ttl"><?php echo $experience_mv_ttl;?></h2>
</div>
<?php } ; endwhile; endif; } ; endwhile; endif; ?>
<?php $experience_lead = get_field("experience_lead")?>
<?php if(!empty($experience_lead)){ ?>
<section class="seminar1">
<div class="c-mainttl container">
<?php $experience_lead = get_field("experience_lead")?>
<h3 class="c-mainttl__txt"><?php echo $experience_lead;?></h3>
</div>
</section>
<?php } ?>
<section class="seminar2">
<div class="container">
<div class="c-imgtext1 c-maintxt1">
......@@ -283,4 +287,4 @@
<?php endwhile; endif;?>
</main>
<?php endwhile; endif;?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/assets/include/footer.php'); ?>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
......
<?php $pageid= "trainer" ?>
<?php include(get_template_directory() . '/assets/include/header.php'); ?>
<?php the_title(); ?>
<?php the_time('Y.n.j'); ?>
<?php while (have_posts()){ the_post();the_content();} ?>
<main class="trainerSingle">
<div class="c-breadcrumb c-breadcrumb--position2 pc-only">
<ul class="c-breadcrumb__inner">
<li class="c-breadcrumb__item">
<a href="/">
<span>TOP</span>
</a>
</li>
<li class="c-breadcrumb__item">
<a href="/trainer/">
<span>講師紹介</span>
</a>
</li>
<li class="c-breadcrumb__item">
<span><?php the_title(); ?></span>
</li>
</ul>
</div>
<?php if( have_rows('mainvisual') ): while( have_rows('mainvisual') ): the_row();
$imageMainvisual = get_sub_field('mainvisual-img');
$linkblogMainvisual = get_sub_field('mainvisual-link-blog');
$linkfbMainvisual = get_sub_field('mainvisual-link-fb');
?>
<div class="c-mainvisual">
<div class="c-mainvisual__inner">
<div class="c-mainvisual__img">
<img src="<?php echo $imageMainvisual ?>" alt="">
</div>
<h2 class="c-mainvisual__ttl"><?php the_title(); ?></h2>
<div class="c-mainvisual__detail">
<p class="c-mainvisual__txt"><?php while (have_posts()){ the_post(); the_content(); } ?></p>
<div class="c-mainvisual__social">
<?php if( !empty( $linkblogMainvisual) ): ?>
<div class="c-mainvisual__btn">
<a href="<?php echo $linkblogMainvisual ?>">ブログを見る</a>
</div>
<?php endif; ?>
<?php if( !empty( $linkfbMainvisual) ): ?>
<div class="c-mainvisual__btn">
<a href="<?php echo $linkfbMainvisual ?>">Facebookを見る</a>
</div>
<?php endif; ?>
</div>
</div>
<!--
<div class="c-mainvisual__video">
<div class="js-video-button" data-video-id='hdOX6Hl72Jc'>
<img src="/common_previous/img/img_trainer_single_video.jpg" alt="">
</div>
<a data-rel="lightcase" href="https://www.youtube.com/embed/3_WiIN8l_XY?rel=0&controls=0&showinfo=0"><img src="/assets/img/trainer/img_trainer_aoki_video.jpg" alt=""></a>
</div>
-->
</div>
</div>
<?php endwhile; ?>
<?php endif; ?>
<?php
$url = explode('/', $_SERVER['REQUEST_URI']);
?>
<div class="container">
<aside class="side pc-only">
<div class="side__box">
<h3 class="side__mainttl">トレーナー</h3>
<ul class="side__list">
<?php
$args = array (
'posts_per_page' => 12,
'post_type' => 'trainer',
'paged' => $paged,
'order' => 'ASC',
'tax_query' => array(
array(
'taxonomy' => "trainer_tax",
'field' => 'slug',
'terms' => 'trainer',
),
)
);
$the_query = new WP_Query( $args );
if ($the_query-> have_posts() ) : while ($the_query -> have_posts() ) : $the_query->the_post();
?>
<li class="side__item"><a href="<?php the_permalink(); ?>" class="side__txt"><?php the_title();?></a></li>
<?php endwhile; endif;?>
</ul>
</div>
<div class="side__box">
<h3 class="side__mainttl">コンサルタント</h3>
<ul class="side__list">
<?php
$args = array (
'posts_per_page' => 12,
'post_type' => 'trainer',
'paged' => $paged,
'order' => 'ASC',
'tax_query' => array(
array(
'taxonomy' => "trainer_tax",
'field' => 'slug',
'terms' => 'consultant',
),
)
);
$the_query = new WP_Query( $args );
if ($the_query-> have_posts() ) : while ($the_query -> have_posts() ) : $the_query->the_post();
?>
<li class="side__item"><a href="<?php the_permalink(); ?>" class="side__txt"><?php the_title();?></a></li>
<?php endwhile;endif;?>
</ul>
</div>
</aside>
<div class="content">
<section class="trainerSingle1">
<?php while (have_posts()){ the_post(); if( have_rows('profile') ): ?>
<h3 class="c-title1">プロフィール</h3>
<ul class="c-list1">
<?php while( have_rows('profile') ): the_row();
$profileTxt = get_sub_field('profile__txt');
?>
<li class="c-list1__item"><?php echo $profileTxt; ?></li>
<?php endwhile; ?>
</ul>
<?php endif; }?>
</section>
<?php if( get_field('career') ): ?>
<section class="trainerSingle2">
<h3 class="c-title1">経歴</h3>
<p class="trainerSingle2__txt"><?php the_field('career'); ?></p>
</section>
<?php endif; ?>
<section class="trainerSingle4">
<?php while (have_posts()){ the_post(); if( have_rows('trainer_book') ): ?>
<h3 class="c-title1">著書</h3>
<ul class="c-list3">
<?php while( have_rows('trainer_book') ): the_row();
$trainer_book_img = get_sub_field('trainer_book_img');
$trainer_book_ttl = get_sub_field('trainer_book_ttl');
$trainer_book_txt = get_sub_field('trainer_book_txt');
$trainer_book_url = get_sub_field('trainer_book_url');
?>
<li class="c-list3__item">
<a href="<?php echo $trainer_book_url ?>" target="_blank" class="c-list3__inner">
<div class="c-list3__img">
<img src="<?php echo $trainer_book_img['url']?>" alt="<?php echo $trainer_book_ttl?>">
</div>
<div class="c-list3__info">
<h4 class="c-list3__ttl"><?php echo $trainer_book_ttl?></h4>
<p class="c-list3__txt"><?php echo $trainer_book_txt?></p>
</div>
</a>
</li>
<?php endwhile; ?>
</ul>
<?php if(get_field('trainer_book_url')) :
$trainer_book_url = get_field('trainer_book_url');
?>
<div class="c-btn1">
<a href="<?php echo $trainer_book_url;?>" target="_blank" class="c-btn1__txt">著書を探す</a>
</div>
<?php endif;?>
<?php endif;} ?>
</section>
<section class="trainerSingle5">
<?php while (have_posts()){ the_post(); if( have_rows('link') ): ?>
<h3 class="c-title1">リンク集</h3>
<ul class="c-list4">
<?php while( have_rows('link') ): the_row();
$txtLink= get_sub_field('link-txt');
$hrefLink = get_sub_field('link-href');
?>
<li class="c-list4__item">
<a class="c-list4__txt" target="_blank" href="<?php echo $hrefLink; ?>"><?php echo $txtLink ?></a>
</li>
<?php endwhile; ?>
</ul>
<?php endif;} ?>
</section>
</div>
</div>
</main>
<script>
$(document).ready(function() {
$(".side__item [href]").each(function() {
if (this.href == window.location.href) {
$(this).parent().addClass("active");
}
});
});
</script>
<?php include(get_template_directory() . '/assets/include/footer.php'); ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment