Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// foreach için örnek
foreach( $items as $item ) {
echo $item[ 'title' ];
echo $item[ 'url' ];
echo $item[ 'description' ];
}
// if else için örnek
if( have_posts() ) {
echo 'Yazı Bulundu!';
} else {
echo 'Yazı Bulunamadı!';
echo 'Tüh :(';
}
// array için örnek
$args = array(
'echo' => false,
'include' => array( 1, 2 )
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.