-1

Note: tried all old questions and they seem not working in current version of wp

I want to export pretty permalinks ( not in db) ,posts title,excerpt and if possible category and tags to csv Please tell me how to

  • 3
    What exactly have you tried so far? Please expand your question by some code, even if semi-functional. As is, this is too broad and hence not answerable. Also you are not asking a question at all, really. – Johannes Pille May 6 '13 at 14:54
  • I tried avaialbe plugin in respostery – Vijay kudal May 7 '13 at 6:55
  • Also stackoverflow.com/questions/3464701/… not working – Vijay kudal May 7 '13 at 6:55
0

In what way are you trying to output them? This is a rough code, but with adaption it'll do what you want it to do- bear in mind though that this is PHP so you will need to make a page template with it, or build it into a shortcode. It cannot be used as-is and is not a packaged plugin:

<?php
$exportposts = get_posts('posts_per_page=999'); // get all of them
foreach($exportposts as $exportpost) {
setup_postdata($exportpost);
the_title();
echo " >> ";
the_permalink();
}
?>

Will output posts in a

TITLE >> PERMALINK

form.

  • Instead of 'posts_per_page=999' (which will cut it short if you have 1000+ posts), you can use 'posts_per_page=-1', which get all the posts. See codex.wordpress.org/Class_Reference/… . – Pat J May 7 '13 at 14:36
  • Hi I created page template ,but something missed check output at placementmantra.com/all – Vijay kudal May 8 '13 at 4:59
  • template used was <?php /* Template Name: all */ $exportposts = get_posts('posts_per_page=999'); // get all of them foreach($exportposts as $exportpost) { setup_postdata($exportpost); the_title(); echo " >> "; the_permalink(); } ?> – Vijay kudal May 8 '13 at 5:00
-2

Consider using an XML sitemap generator. It's quick, easy and complete for all but no index, no follow pages

  • 2
    Please add details/explanation to back your answer. – Maruti Mohanty Dec 10 '13 at 15:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.