Commit 07c586c8 by o.kimura

修正対応

parent 2532d55e
...@@ -279,10 +279,11 @@ function display_menu_order_column( $column_name, $post_id ) { ...@@ -279,10 +279,11 @@ function display_menu_order_column( $column_name, $post_id ) {
function add_menu_order_column_styles() { function add_menu_order_column_styles() {
?> ?>
<style type="text/css" charset="utf-8"> <style type="text/css" charset="utf-8">
.fixed .column-order { .fixed .column-order {
width: 7%; width: 7%;
text-align: center; text-align: center;
} }
</style> </style>
<?php <?php
} }
...@@ -378,4 +379,30 @@ function is_mobile () { ...@@ -378,4 +379,30 @@ function is_mobile () {
return preg_match($pattern, $_SERVER['HTTP_USER_AGENT']); return preg_match($pattern, $_SERVER['HTTP_USER_AGENT']);
} }
function my_tiny_mce_before_init( $init_array ) {
$init_array['valid_elements'] = '*[*]';
$init_array['extended_valid_elements'] = '*[*]';
return $init_array;
}
add_filter( 'tiny_mce_before_init' , 'my_tiny_mce_before_init' );
// オートフォーマット関連の無効化
add_action('init', function() {
remove_filter('the_title', 'wptexturize');
remove_filter('the_content', 'wptexturize');
remove_filter('the_excerpt', 'wptexturize');
remove_filter('the_title', 'wpautop');
remove_filter('the_content', 'wpautop');
remove_filter('the_excerpt', 'wpautop');
remove_filter('the_editor_content', 'wp_richedit_pre');
});
// オートフォーマット関連の無効化 TinyMCE
add_filter('tiny_mce_before_init', function($init) {
$init['wpautop'] = false;
$init['apply_source_formatting'] = ture;
return $init;
});
?> ?>
...@@ -20,54 +20,6 @@ ...@@ -20,54 +20,6 @@
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery/jquery.js?ver=1.10.2"></script> <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery/jquery.js?ver=1.10.2"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery/jquery-migrate.min.js?ver=1.2.1"></script> <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/jquery/jquery-migrate.min.js?ver=1.2.1"></script>
<script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/lightbox/js/jquery.prettyPhoto.js"></script> <script type="text/javascript" src="<?php echo get_template_directory_uri(); ?>/js/lightbox/js/jquery.prettyPhoto.js"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$("#map_t a[rel^='prettyPhoto']:first").prettyPhoto({
custom_markup: '<div id="map_canvas_t" style="width:100%; height:100%"><iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3241.183123504671!2d139.7227460173083!3d35.67249269876229!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0xb356d6b4da08283f!2z6Z2S5bGx44OE44Kk44Oz44OT44Or5paw6Z2S5bGx44OT44Or6KW_6aSo!5e0!3m2!1sja!2sjp!4v1594879691504!5m2!1sja!2sjp" width="100%" height="600" frameborder="0" style="border:0; margin-top: -180px;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe></div>',
changepicturecallback: function() {}
});
$("#map_n a[rel^='prettyPhoto']:first").prettyPhoto({
custom_markup: '<div id="map_canvas_n" style="width:100%; height:425px"><iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3261.312378966943!2d136.87947786350924!3d35.173766031220154!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x6003773d6a97da49%3A0x462c23102a4a7298!2z5ZCN6aeF44OA44Kk44Ok44Oh44Kk44OG44OE44OT44Or!5e0!3m2!1sja!2sjp!4v1594880263936!5m2!1sja!2sjp" width="100%" height="600" frameborder="0" style="border:0; margin-top: -180px;" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe></div>',
changepicturecallback: function() {}
});
});
</script>
<!-- Google Maps Code -->
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript">
function initialize1() {
var latlng = new google.maps.LatLng(35.672479, 139.724729);
var myOptions = {
zoom: 17,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas_t"), myOptions);
var marker = new google.maps.Marker({
position: latlng,
map: map,
title: "東京オフィス"
});
}
function initialize2() {
var latlng = new google.maps.LatLng(35.173313, 136.885369);
var myOptions = {
zoom: 17,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map_canvas_n"), myOptions);
var marker = new google.maps.Marker({
position: latlng,
map: map,
title: "名古屋オフィス"
});
}
</script>
<!-- END Google Maps Code -->
<?php if (is_front_page()): ?> <?php if (is_front_page()): ?>
<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.heightLine.js"></script> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/jquery.heightLine.js"></script>
<script> <script>
...@@ -191,12 +143,12 @@ ...@@ -191,12 +143,12 @@
</div> </div>
<div class="btn_map_t"><img src="<?php bloginfo('template_url'); ?>/images/text_header_tel_t.gif" width="252" height="20" alt="東京オフィス:03-3405-8261" class="imgTll"> <div class="btn_map_t"><img src="<?php bloginfo('template_url'); ?>/images/text_header_tel_t.gif" width="252" height="20" alt="東京オフィス:03-3405-8261" class="imgTll">
<p id="map_t"><a href="#?custom=true&width=630&height=420" rel="prettyPhoto" title="東京都港区南青山1-1-1 新青山ビル西館2階" data-link="https://www.google.co.jp/maps?f=q&amp;source=embed&amp;hl=ja&amp;geocode=&amp;q=%E6%9D%B1%E4%BA%AC%E9%83%BD%E6%B8%AF%E5%8C%BA%E5%8D%97%E9%9D%92%E5%B1%B11-1-1%E6%96%B0%E9%9D%92%E5%B1%B1%E3%83%93%E3%83%AB%E8%A5%BF%E9%A4%A82%E9%9A%8E&amp;aq=&amp;sll=36.018536,139.305715&amp;sspn=0.581477,0.798569&amp;brcurrent=3,0x60188c820ac932eb:0xc68079dd10afd971,0&amp;ie=UTF8&amp;hq=&amp;hnear=%E6%9D%B1%E4%BA%AC%E9%83%BD%E6%B8%AF%E5%8C%BA%E5%8D%97%E9%9D%92%E5%B1%B1%EF%BC%91%E4%B8%81%E7%9B%AE%EF%BC%91%E2%88%92%EF%BC%91%EF%BC%99+%E9%9D%92%E5%B1%B1%E3%83%84%E3%82%A4%E3%83%B3%E3%83%93%E3%83%AB%E6%96%B0%E9%9D%92%E5%B1%B1%E3%83%93%E3%83%AB%E3%83%82%E3%83%B3%E3%82%B0%E8%A5%BF%E9%A4%A8&amp;t=m&amp;z=14&amp;ll=35.672479,139.724729"> <p id="map_t"><a href="https://goo.gl/maps/8pgaDRN8riADXAe16" title="東京都港区南青山1-1-1 新青山ビル西館2階" target="_blank">
<img src="<?php bloginfo('template_url'); ?>/images/btn_header_map.png" width="52" height="20" alt=""> <img src="<?php bloginfo('template_url'); ?>/images/btn_header_map.png" width="52" height="20" alt="">
</a></p> </a></p>
</div> </div>
<div class="btn_map_n"><img src="<?php bloginfo('template_url'); ?>/images/text_header_tel_n.gif" width="252" height="20" alt="名古屋オフィス:052-569-2915" class="imgTll"> <div class="btn_map_n"><img src="<?php bloginfo('template_url'); ?>/images/text_header_tel_n.gif" width="252" height="20" alt="名古屋オフィス:052-569-2915" class="imgTll">
<p id="map_n"><a href="#?custom=true&width=630&height=420" rel="prettyPhoto" title="愛知県名古屋市西区名駅1-1-17 名駅ダイヤメイテツビル5階" data-link="https://goo.gl/maps/uxXyV77VmziBAGyq6"> <p id="map_n"><a href="https://goo.gl/maps/uxXyV77VmziBAGyq6" title="愛知県名古屋市西区名駅1-1-17 名駅ダイヤメイテツビル5階" target="_blank">
<img src="<?php bloginfo('template_url'); ?>/images/btn_header_map.png" width="52" height="20" alt=""> <img src="<?php bloginfo('template_url'); ?>/images/btn_header_map.png" width="52" height="20" alt="">
</a></p> </a></p>
</div> </div>
......
...@@ -372,28 +372,6 @@ $dayago = $today-$entry; ...@@ -372,28 +372,6 @@ $dayago = $today-$entry;
</div> </div>
<!-- /.boxS --> <!-- /.boxS -->
</div> </div>
<div class="linkBox sectionBox boxS">
<div class="sectionBox_shadow">
<div class="sectionBox_inner">
<div class="sectionBox_header">
<h3><a href="<?php echo home_url(); ?>/link.html">おすすめリンク<span class="btnArrow"></span></a></h3>
<!-- /.sectionBox_header -->
</div>
<div class="sectionBox_body">
<div class="sectionBox_body_inner">
<p class="img"><img src="http://www.diamond-familyclub.com/wp-content/uploads/top_box_tmb_12.jpg" alt="おすすめリンク"></p>
<p class="text">ホテル、お店等のご紹介です。結婚式、新婚旅行、各種贈答などを検討の際にご活用下さい。</p>
<!-- /.sectionBox_body_inner -->
</div>
<!-- /.sectionBox_body -->
</div>
<div class="sectionBox_btm"></div>
<!-- /.sectionBox_inner -->
</div>
<!-- /.sectionBox_shadow -->
</div>
<!-- /.boxS -->
</div>
<!-- /.sectionArea --> <!-- /.sectionArea -->
</div> </div>
......
...@@ -81,7 +81,6 @@ $args = array(/* 配列に複数の引数を追加 */ ...@@ -81,7 +81,6 @@ $args = array(/* 配列に複数の引数を追加 */
</ul></li> </ul></li>
<li class="sm_a_topics"><a href="<?php echo home_url(); ?>topics.html"><span class="icon"></span><span class="nText">トピックス一覧へ</span></a></li> <li class="sm_a_topics"><a href="<?php echo home_url(); ?>topics.html"><span class="icon"></span><span class="nText">トピックス一覧へ</span></a></li>
<li class="sm_a_member"><a href="<?php echo home_url(); ?>/member/member.html"><span class="icon"></span><span class="nText">会員の皆様へ</span></a></li> <li class="sm_a_member"><a href="<?php echo home_url(); ?>/member/member.html"><span class="icon"></span><span class="nText">会員の皆様へ</span></a></li>
<li class="sm_a_link"><a href="<?php echo home_url(); ?>/link.html"><span class="icon"></span><span class="nText">おすすめリンク</span></a></li>
<li class="sm_a_form"><a href="<?php echo home_url(); ?>/form.html"><span class="icon"></span><span class="nText">入会申込書類のご請求フォーム</span></a></li> <li class="sm_a_form"><a href="<?php echo home_url(); ?>/form.html"><span class="icon"></span><span class="nText">入会申込書類のご請求フォーム</span></a></li>
<li class="sm_a_sitepolicy"><a href="<?php echo home_url(); ?>/sitepolicy.html"><span class="icon"></span><span class="nText">このサイトについて</span></a></li> <li class="sm_a_sitepolicy"><a href="<?php echo home_url(); ?>/sitepolicy.html"><span class="icon"></span><span class="nText">このサイトについて</span></a></li>
<li class="sm_a_privacypolicy"><a href="<?php echo home_url(); ?>/privacypolicy.html"><span class="icon"></span><span class="nText">プライバシーポリシー</span></a></li> <li class="sm_a_privacypolicy"><a href="<?php echo home_url(); ?>/privacypolicy.html"><span class="icon"></span><span class="nText">プライバシーポリシー</span></a></li>
......
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
</li> </li>
</ul> </ul>
<ul id="slidebarSabNav" class="menu"> <ul id="slidebarSabNav" class="menu">
<li class="nItem nav_sab_link"><a href="<?php echo home_url(); ?>/link.html"><span class="nText">おすすめリンク<span class="icon"></span></span></a></li>
<li class="nItem nav_sab_form"><a href="<?php echo home_url(); ?>/form.html"><span class="nText">入会申込書類のご請求フォーム<span class="icon"></span></span></a></li> <li class="nItem nav_sab_form"><a href="<?php echo home_url(); ?>/form.html"><span class="nText">入会申込書類のご請求フォーム<span class="icon"></span></span></a></li>
<li class="nItem nav_sab_sitepolicy"><a href="<?php echo home_url(); ?>/sitepolicy.html"><span class="nText">このサイトについて<span class="icon"></span></span></a></li> <li class="nItem nav_sab_sitepolicy"><a href="<?php echo home_url(); ?>/sitepolicy.html"><span class="nText">このサイトについて<span class="icon"></span></span></a></li>
<li class="nItem nav_sab_privacypolicy"><a href="<?php echo home_url(); ?>/privacypolicy.html"><span class="nText">プライバシーポリシー<span class="icon"></span></span></a></li> <li class="nItem nav_sab_privacypolicy"><a href="<?php echo home_url(); ?>/privacypolicy.html"><span class="nText">プライバシーポリシー<span class="icon"></span></span></a></li>
......
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