Quantcast
Channel: サンプル
Browsing all 15 articles
Browse latest View live

ランダムファイル

<?php $name : array('HTML',); $a=0; while($a<1){ $i = rand(0.4); if( $check[$i] i = 1 )[ echo "name[$i]"]; $a++; } } ?>

View Article



レスポンシブ Media Query

@import url("style_pc.css") all and (min-width: 769px); @import url("style_tb.css") all and (max-width: 768px); @import url("style-sp.css") all and (max-width: 640px);

View Article

カテゴリ毎の設定

<?php if (in_category(1)) : ?> <p>パターン青です。</p> <?php else : ?> <p>パターン赤です。</p> <?php endif; ?> <?php if (in_category(1)) : ?>...

View Article

各ページごとの記事数を変更

//functionに記述 function change_posts_per_page($query) { if ( is_admin() || ! $query->is_main_query() ) return; /* アーカイブページの時に表示件数を10件にセット */ if ( $query->is_archive() ) { $query->set(...

View Article

inputボタン,iPhoneのsafari設定

input[type="button"],input[type="submit"] { border-radius: 0; -webkit-appearance: none; }

View Article


wp-pagenaviのページ送りできな場合

<?php $paged = get_query_var( 'paged' ); ?> <?php query_posts('posts_per_page=7&paged='.$paged); ?> <?php if (have_posts()) : ?><?php while (have_posts()) : the_post(); ?>

View Article

相互リンクを固定ページから引っ張る

<div class="inner"> <?php $args = array( //条件をセット 'numberposts' => 1, 'include' => '88', 'post_type' => 'page', 'suppress_filters' => true ); global $post; ?> <?php $myposts...

View Article

表示するタグの数を指定

<?php $args = array( // 投稿数の多い方から 10 個 'orderby' => 'count', 'order' => 'desc', 'number' => 10 ); ?> <ul> <?php foreach ( get_terms('post_tag', $args) as $tag) : ?>...

View Article


wp-pagenaviのCSS

/*wp-pagenaviPC*/ .wp-pagenavi{ clear: both; margin-top:10px; font-family: 'Federo', sans-serif; font-size:110%; padding: 2%; } .wp-pagenavi a, .wp-pagenavi a:hover, .wp-pagenavi span.current{...

View Article


@mediaquery

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <html lang="ja"> <meta name="viewport" content="width=device-width, initial-scale=1">...

View Article

Article 0

estate

View Article

ランダムファイル

<?php $name : array('HTML',); $a=0; while($a<1){ $i = rand(0.4); if( $check[$i] i = 1 )[ echo "name[$i]"]; $a++; } } ?>

View Article

テスト

見出しH2 aaaaaaaaaaaaaaaaaaaaaaaa 見出しH2 aaaaaaaaaaa 見出しH3 cccccccccccccc 見出しH4 ああああああああああああああ

View Article


News01

News01News01News01News01News01News01News01News01News01News01

View Article

News02

News02News02News02News02News02News02News02News02

View Article

Browsing all 15 articles
Browse latest View live




Latest Images