Diff
checker
텍스트
텍스트
이미지
문서
Excel
폴더
Legal
Enterprise
데스크톱
요금제
로그인
데스크톱 앱 다운로드
텍스트 비교
두 텍스트 파일의 차이점을 찾아보세요
도구
기록
실시간 편집
변경 없는 행 숨기기
줄바꿈 비활성화
레이아웃
나란히 보기
합쳐 보기
비교 단위
스마트
단어
글자
구문 강조
언어 선택
제외
텍스트 변환
첫 변경으로
수정
Diffchecker Desktop
가장 안전하게 Diffchecker를 사용하는 방법. 데스크톱 앱을 사용하면 비교 데이터가 외부로 전송되지 않습니다!
데스크톱 앱 받기
Untitled Diff
생성일
4년 전
비교 결과 만료 없음
초기화
내보내기
공유
설명
2 삭제
행
총
삭제
글자
총
삭제
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
68 행
복사
23 추가
행
총
추가
글자
총
추가
이 기능을 계속 사용하려면 업그레이드해 주세요
Diff
checker
Pro
요금제 보기
89 행
복사
<?php
<?php
$footer_class = get_theme_mod('footer_use_block_css', false) ? "footer-block" : "footer";
$footer_class = get_theme_mod('footer_use_block_css', false) ? "footer-block" : "footer";
복사
복사됨
복사
복사됨
$src = esc_url(get_option('logo_image_upload'));
$media_id = get_option('logo_image_media_upload');
$width = '';
$height = '';
$media_url = '';
if ($media_id) {
$media_url = esc_url_raw( wp_get_attachment_url($media_id) );
$image_data = wp_get_attachment_metadata( $media_id );
if ($image_data) {
$width = $image_data['width'];
$height = $image_data['height'];
}
}
?>
?>
<footer class="<?php echo $footer_class ?>">
<footer class="<?php echo $footer_class ?>">
<?php
<?php
if(is_active_sidebar( 'footer_left' ) ||
if(is_active_sidebar( 'footer_left' ) ||
is_active_sidebar( 'footer_cent' ) ||
is_active_sidebar( 'footer_cent' ) ||
is_active_sidebar( 'footer_right' )
is_active_sidebar( 'footer_right' )
) :
) :
?>
?>
<div id="inner-footer" class="inner-footer wrap cf">
<div id="inner-footer" class="inner-footer wrap cf">
<div class="fblock first">
<div class="fblock first">
<?php if(is_active_sidebar('footer_left')) dynamic_sidebar( 'footer_left' ); ?>
<?php if(is_active_sidebar('footer_left')) dynamic_sidebar( 'footer_left' ); ?>
</div>
</div>
<div class="fblock">
<div class="fblock">
<?php if(is_active_sidebar('footer_cent')) dynamic_sidebar( 'footer_cent' ); ?>
<?php if(is_active_sidebar('footer_cent')) dynamic_sidebar( 'footer_cent' ); ?>
</div>
</div>
<div class="fblock last">
<div class="fblock last">
<?php if(is_active_sidebar('footer_right')) dynamic_sidebar( 'footer_right' ); ?>
<?php if(is_active_sidebar('footer_right')) dynamic_sidebar( 'footer_right' ); ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
<?php endif; ?>
<div id="footer-menu">
<div id="footer-menu">
<div>
<div>
복사
복사됨
복사
복사됨
<a
class="footer-menu__btn dfont" href="<?php echo esc_url( home_url( '/' ) ); ?>">
<?php fa_tag("home","home",false) ?> HOME
</a>
<a
id="logo"
class="footer-menu__btn dfont" href="<?php echo esc_url( home_url( '/' ) ); ?>">
<?php if(get_option('logo_image_media_upload')) : ?>
<img src="<?php echo $media_url; ?>" alt="<?php bloginfo('name'); ?>" width="<?php echo $width ?>" height="<?php echo $height ?>" class="header-logo__img">
<?php elseif(get_option('logo_image_upload')) : ?>
<img src="<?php echo $src; ?>" alt="<?php bloginfo('name'); ?>" <?php sng_echo_header_logo_size($src); ?> class="header-logo__img">
<?php endif; ?>
<?php if(!get_option('onlylogo_checkbox')) bloginfo('name'); ?>
</a>
</div>
</div>
<nav>
<nav>
<?php wp_nav_menu(array(
<?php wp_nav_menu(array(
'container' => 'div',
'container' => 'div',
'container_class' => 'footer-links cf',
'container_class' => 'footer-links cf',
'menu' => 'フッターリンクメニュー',
'menu' => 'フッターリンクメニュー',
'menu_class' => 'nav footer-nav cf',
'menu_class' => 'nav footer-nav cf',
'theme_location' => 'footer-links',
'theme_location' => 'footer-links',
'before' => '',
'before' => '',
'after' => '',
'after' => '',
'link_before' => '',
'link_before' => '',
'link_after' => '',
'link_after' => '',
'depth' => 0,
'depth' => 0,
'fallback_cb' => 'sng_footer_links_fallback'
'fallback_cb' => 'sng_footer_links_fallback'
)); ?>
)); ?>
<?php
<?php
// プライバシーポリシー
// プライバシーポリシー
if ( function_exists( 'the_privacy_policy_link' ) ) {
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link();
the_privacy_policy_link();
}
}
?>
?>
</nav>
</nav>
<p class="copyright dfont">
<p class="copyright dfont">
© <?php echo date('Y'); ?>
© <?php echo date('Y'); ?>
<?php
<?php
if(get_option('rights_reserved')) {
if(get_option('rights_reserved')) {
echo get_option('rights_reserved');
echo get_option('rights_reserved');
} else {
} else {
bloginfo( 'name' );
bloginfo( 'name' );
} ?>
} ?>
All rights reserved.
All rights reserved.
</p>
</p>
</div>
</div>
</footer>
</footer>
</div>
</div>
<?php wp_footer(); ?>
<?php wp_footer(); ?>
<?php footer_nav_menu(); // モバイルフッターメニュー ?>
<?php footer_nav_menu(); // モバイルフッターメニュー ?>
<?php go_top_btn(); // トップへ戻るボタン ?>
<?php go_top_btn(); // トップへ戻るボタン ?>
</body>
</body>
</html>
</html>
저장된 비교 결과
원본
파일 열기
<?php $footer_class = get_theme_mod('footer_use_block_css', false) ? "footer-block" : "footer"; ?> <footer class="<?php echo $footer_class ?>"> <?php if(is_active_sidebar( 'footer_left' ) || is_active_sidebar( 'footer_cent' ) || is_active_sidebar( 'footer_right' ) ) : ?> <div id="inner-footer" class="inner-footer wrap cf"> <div class="fblock first"> <?php if(is_active_sidebar('footer_left')) dynamic_sidebar( 'footer_left' ); ?> </div> <div class="fblock"> <?php if(is_active_sidebar('footer_cent')) dynamic_sidebar( 'footer_cent' ); ?> </div> <div class="fblock last"> <?php if(is_active_sidebar('footer_right')) dynamic_sidebar( 'footer_right' ); ?> </div> </div> <?php endif; ?> <div id="footer-menu"> <div> <a class="footer-menu__btn dfont" href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php fa_tag("home","home",false) ?> HOME</a> </div> <nav> <?php wp_nav_menu(array( 'container' => 'div', 'container_class' => 'footer-links cf', 'menu' => 'フッターリンクメニュー', 'menu_class' => 'nav footer-nav cf', 'theme_location' => 'footer-links', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0, 'fallback_cb' => 'sng_footer_links_fallback' )); ?> <?php // プライバシーポリシー if ( function_exists( 'the_privacy_policy_link' ) ) { the_privacy_policy_link(); } ?> </nav> <p class="copyright dfont"> © <?php echo date('Y'); ?> <?php if(get_option('rights_reserved')) { echo get_option('rights_reserved'); } else { bloginfo( 'name' ); } ?> All rights reserved. </p> </div> </footer> </div> <?php wp_footer(); ?> <?php footer_nav_menu(); // モバイルフッターメニュー ?> <?php go_top_btn(); // トップへ戻るボタン ?> </body> </html>
수정본
파일 열기
<?php $footer_class = get_theme_mod('footer_use_block_css', false) ? "footer-block" : "footer"; $src = esc_url(get_option('logo_image_upload')); $media_id = get_option('logo_image_media_upload'); $width = ''; $height = ''; $media_url = ''; if ($media_id) { $media_url = esc_url_raw( wp_get_attachment_url($media_id) ); $image_data = wp_get_attachment_metadata( $media_id ); if ($image_data) { $width = $image_data['width']; $height = $image_data['height']; } } ?> <footer class="<?php echo $footer_class ?>"> <?php if(is_active_sidebar( 'footer_left' ) || is_active_sidebar( 'footer_cent' ) || is_active_sidebar( 'footer_right' ) ) : ?> <div id="inner-footer" class="inner-footer wrap cf"> <div class="fblock first"> <?php if(is_active_sidebar('footer_left')) dynamic_sidebar( 'footer_left' ); ?> </div> <div class="fblock"> <?php if(is_active_sidebar('footer_cent')) dynamic_sidebar( 'footer_cent' ); ?> </div> <div class="fblock last"> <?php if(is_active_sidebar('footer_right')) dynamic_sidebar( 'footer_right' ); ?> </div> </div> <?php endif; ?> <div id="footer-menu"> <div> <a id="logo" class="footer-menu__btn dfont" href="<?php echo esc_url( home_url( '/' ) ); ?>"> <?php if(get_option('logo_image_media_upload')) : ?> <img src="<?php echo $media_url; ?>" alt="<?php bloginfo('name'); ?>" width="<?php echo $width ?>" height="<?php echo $height ?>" class="header-logo__img"> <?php elseif(get_option('logo_image_upload')) : ?> <img src="<?php echo $src; ?>" alt="<?php bloginfo('name'); ?>" <?php sng_echo_header_logo_size($src); ?> class="header-logo__img"> <?php endif; ?> <?php if(!get_option('onlylogo_checkbox')) bloginfo('name'); ?> </a> </div> <nav> <?php wp_nav_menu(array( 'container' => 'div', 'container_class' => 'footer-links cf', 'menu' => 'フッターリンクメニュー', 'menu_class' => 'nav footer-nav cf', 'theme_location' => 'footer-links', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0, 'fallback_cb' => 'sng_footer_links_fallback' )); ?> <?php // プライバシーポリシー if ( function_exists( 'the_privacy_policy_link' ) ) { the_privacy_policy_link(); } ?> </nav> <p class="copyright dfont"> © <?php echo date('Y'); ?> <?php if(get_option('rights_reserved')) { echo get_option('rights_reserved'); } else { bloginfo( 'name' ); } ?> All rights reserved. </p> </div> </footer> </div> <?php wp_footer(); ?> <?php footer_nav_menu(); // モバイルフッターメニュー ?> <?php go_top_btn(); // トップへ戻るボタン ?> </body> </html>
비교하기