if ( is_page( 42 ) ) {
// 페이지 ID 가 42 인 경우 실행할 코드
echo "test2";
}
if ( is_page( 'test' ) ) {
// 페이지 제목이 About 일 경우 실행할 코드
echo "test3";
}
if ( is_page( 'contact-us' ) ) {
// 페이지 슬러그가 contact-us 일 경우 실행할 코드
echo "test4";
}
$condition = array( 42, 'About', 'contact-us' );
if ( is_page( $condition ) ) {
// 페이지 ID 가 42, 또는 제목이 About, 또는 슬러그가 contact-us 일 경우 실행할 코드
echo "test5";
}
?>
Copyright (c) FNS. INC. All Rights Reserved.
Looking for an exciting online casino experience? Visit pin up casino and enjoy a wide selection of slot machines, sports betting, and more. With round-the-clock access, multilingual interface, and reliable customer support, Pin-Up Play is a trusted and transparent platform. Join now and indulge in the juiciest and brightest online gaming.