Page, category, and Post number report (4 posts)

  1. swimflyfast
    Posted 3 years ago #

    I would like to create a static page that would display the title of my sites pages with the page number, category titles with category number, and posts with post number so I can use it as an easy reference when working on sites. Does anyone know how to do that?
    page title page number

    post title post number

    category title category number

  2. Michael
    Part-Time Forum Moderator
    Posted 3 years ago #


    add your own formatting

  3. swimflyfast
    Posted 3 years ago #

    thanks, I enabled php in a widget, used widget logic so it would only show up on a test page, and put your code in it (added ?> to end..)
    it listed the category and number very nicely but not page names or post names.

  4. swimflyfast
    Posted 3 years ago #

    if($all_pages) vs if($pages)
    if($all_posts) vs if($posts)

    and ?> at end

    This works wonderfully! thanks again!!!

Topic Closed

This topic has been closed to new replies.

About this Topic