WordPress.org

Ready to get started?Download WordPress

Forums

how to get permalink of all posts?? (1 post)

  1. storyday
    Member
    Posted 7 years ago #

    how to get permalink of all posts??

    thanks

    <?php
    $i = 0;
    while( $i < latest_post_id  ){
    	echo "permalink".$i.":".get_permalink($i)."\n";
    	$i ++ ;
    }
    ?>

    but this will return some non-exists permalinks,

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags