Last active
July 1, 2016 16:43
-
-
Save mypacecreator/d27e7964fd3c536d075f9e4d1aa24fcc to your computer and use it in GitHub Desktop.
WordPressで印刷用画面を作る手順の途中(ブログ用)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<html lang="ja"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<meta name="robots" content="noindex"> | |
<title>印刷用ページのベース(例)</title> | |
<link rel='stylesheet' id='print-css' href='<?php echo esc_url( get_template_directory_uri() ); ?>/print.css' type='text/css' media='all' /> | |
</head> | |
<body> | |
<!-- ここに印刷用のレイアウトHTMLを書く --> | |
<p class="print-btn"><a href="javascript:void(0)" onclick="window.print();return false;">このページを印刷</a></p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment