codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
<?php use Inc2734\Mimizuku_Core\App\Controller\Controller; Controller::layout( get_theme_mod( 'archive-page-layout' ) ); if ( have_posts() ) { if ( $_GET['fe_form_no'] == '0' ) { //search-form0.php をビューファイルとして読み込み Controller::render( 'search-form0' ); } else { // デフォルトのビューファイルを読み込み Controller::render( 'archive', 'search' ); } } else { Controller::render( 'no-match' ); }
Private
[
?
]
Run code
Submit