イベント
Events

イベント

$paged = get_query_var('paged') ? get_query_var('paged') : 1; if(is_page("all-news")){ $args = array( 'post_type' => "post", 'posts_per_page' => get_option('posts_per_page'), 'paged' => $paged ); $myquery = new WP_Query($args); } else{ $myquery = $wp_query; }
Warning: Undefined variable $myquery in /home/ks0003/t-hotetsu.jp/public_html/wp-content/themes/t-hotetsu/category.php on line 18

Fatal error: Uncaught Error: Call to a member function have_posts() on null in /home/ks0003/t-hotetsu.jp/public_html/wp-content/themes/t-hotetsu/category.php:18 Stack trace: #0 /home/ks0003/t-hotetsu.jp/public_html/wp-includes/template-loader.php(106): include() #1 /home/ks0003/t-hotetsu.jp/public_html/wp-blog-header.php(19): require_once('/home/ks0003/t-...') #2 /home/ks0003/t-hotetsu.jp/public_html/index.php(17): require('/home/ks0003/t-...') #3 {main} thrown in /home/ks0003/t-hotetsu.jp/public_html/wp-content/themes/t-hotetsu/category.php on line 18