Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Recent Posts

    < ?php $args = array( 'numberposts' => ‘5’, ‘tax_query’ => array(
    array(
    ‘taxonomy’ => ‘post_format’,
    ‘field’ => ‘slug’,
    ‘terms’ => ‘post-format-aside’,
    ‘operator’ => ‘NOT IN’
    ),
    array(
    ‘taxonomy’ => ‘post_format’,
    ‘field’ => ‘slug’,
    ‘terms’ => ‘post-format-image’,
    ‘operator’ => ‘NOT IN’
    )
    ) );
    $recent_posts = wp_get_recent_posts( $args );
    foreach( $recent_posts as $recent ){
    echo ‘

  • ‘ . ( __($recent[“post_title”])).’
  • ‘;
    }
    ?>


Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Be the first to comment

Leave a Reply

Specify Facebook App ID and Secret in Super Socializer > Social Login section in admin panel for Facebook Login to work

Specify LinkedIn Client ID and Secret in Super Socializer > Social Login section in admin panel for LinkedIn Login to work