不倫サイトで不倫相手と出会うコツを伝授します・・・

体験談

return $content;
}
}
if ( !function_exists(‘nak_get_page_data’) ) {
function nak_get_page_data($page_name, $view_limit = 10, $str_len = 200 ){
global $wpdb;
$result = $wpdb->get_row(“SELECT ID FROM $wpdb->posts WHERE post_type = ‘page’ AND post_title = ‘$page_name'”);
$parent_id = $result->ID;
$arrPages = array();$count = 0;
$myposts = get_posts(“post_parent=$parent_id&post_type=page&numberposts=$view_limit”);
foreach ($myposts as $post) {
$arrPages[] = array( ‘url’ => get_permalink($post->ID),
‘title’ => $post->post_title,
‘content’ => mb_strimwidth( prm_the_content( $post->post_content ), 0, $str_len , “
ID) . “\”>…続きを読む


“),
);
$count++;
//if ($count > $view_limit) break;
}
//ランダム表示にする場合は下の行はじめの//を消去
// shuffle($arrPages);
return $arrPages;
}
}?>

カテゴリー

© 2018 不倫サイトでちょっとアブナイ出会い Back to Top ↑