• Here is my code

    <?php
    	$args = array( 'numberposts' => '100', '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 '<li class="anilist"><div class="recent"><a href="' . get_permalink($recent["ID"]) . '">' .   $recent["post_title"].'</a></div><div class="ago">' . wp_days_ago_v3() . '</div></li> ';
    	}

    Can someone fixed this code problem with wp_days_ago_v3()

    https://www.ads-software.com/plugins/wp-days-ago/

  • The topic ‘Correct this issue’ is closed to new replies.