บทความ
‘200’,
‘cat’ => array( 12, 19, 20 )
);
$my_query2 = new WP_Query($args2);
if ( $my_query2->have_posts() ) {
echo ‘
- ‘;
- ID );
$alt = get_post_meta($thumbnail_id, ‘_wp_attachment_image_alt’, true);
the_post_thumbnail( ‘full’, array( ‘alt’ => $alt ) );}
else { ?>
180) {
$text = substr($text,0,180).”…”;
}
echo $text; //the_title();
?>750) {
$text = substr($text,0,750).”…”;
}
echo $text; //the_excerpt();
?>ID );
$alt = get_post_meta($thumbnail_id, ‘_wp_attachment_image_alt’, true);
the_post_thumbnail( ‘full’, array( ‘alt’ => $alt ) );}
else { ?>
180) {
$text = substr($text,0,180).”…”;
}
echo $text; //the_title();
?>750) {
$text = substr($text,0,750).”…”;
}
echo $text; //the_excerpt();
?>
while ( $my_query2->have_posts() ) {
$my_query2->the_post();
$featuredImage = wp_get_attachment_url( get_post_thumbnail_id($post->ID));
?>
![search](/images/icon-btn-search.png)
![search](/images/icon-close.png)