proiecte

Proiectele noastre

[insert_php]
$args = array( ‘numberposts’ => ‘1’, ‘category’ => ‘proiecte’);

$recent_posts = wp_get_recent_posts($args);
foreach( $recent_posts as $recent ){
echo ‘

‘ .$recent[„post_title”].’

‘;

$content = get_post_field( ‘post_content’, $recent[„ID”] );

$content_parts = get_extended( $content );

preg_match(‘/.+?)[\'”].*>/i’, $content_parts[‘main’], $image);
echo „„;
echo „

„;
echo wp_trim_words ($content_parts[‘main’], 20,’…’);
echo „

„;

echo ‘Citeste mai mult‘;
}
[/insert_php]

[insert_php]
$args = array( ‘numberposts’ => ‘2’, ‘category’ => ‘proiecte’ );

$recent_posts = wp_get_recent_posts($args);
foreach( array_slice($recent_posts,1) as $recent ){
echo ‘

‘ .$recent[„post_title”].’

‘;

$content = get_post_field( ‘post_content’, $recent[„ID”] );

$content_parts = get_extended( $content );

preg_match(‘/.+?)[\'”].*>/i’, $content_parts[‘main’], $image);
echo „„;
echo „

„;
echo wp_trim_words ($content_parts[‘main’], 20,’…’);
echo „

„;

echo ‘Citeste mai mult‘;
}
[/insert_php]

[insert_php]
$args = array( ‘numberposts’ => ‘3’, ‘category’ => 1 );

$recent_posts = wp_get_recent_posts($args);
foreach( array_slice($recent_posts,2) as $recent ){
echo ‘

‘ .$recent[„post_title”].’

‘;

$content = get_post_field( ‘post_content’, $recent[„ID”] );

$content_parts = get_extended( $content );

preg_match(‘/.+?)[\'”].*>/i’, $content_parts[‘main’], $image);
echo „„;
echo „

„;
echo wp_trim_words ($content_parts[‘main’], 20,’…’);
echo „

„;

echo ‘Citeste mai mult‘;
}
[/insert_php]

Aveti orice intrebari ?
NU EZITATI SA NE CONTACTATI in ORICE MOMENT.