How to change a page category (5 posts)

  1. converting2wp
    Posted 8 years ago #

    While in other messages in this forum say that "pages don't have categories," that's not quite accurate.

    In my testing (WP 2.0.7), a page is assigned the category that is the default for posts at the time it is created.

    This appears to make a difference for plugins like Category Access, http://www.coppit.org/code/, and in other cotexts where pages are displayed along with posts (i.e. in the results of some searches) and so have their category listed.

    It took me awhile to confirm that code like
    echo $post->post_status;
    would work just fine on pages. Can anyone point me to documentation on those post properties (and any notes about the difference in using them for pages)? [Apologies if I'm asking for something that's so obvious in the code, it hasn't made it to the codex or if my codex searches have been poor.]


  2. Xander
    Posted 8 years ago #

    I am also seeking a way to alter page categories... haven't found a solution on the forum yet.

  3. Dusibello
    Posted 8 years ago #

    same here!


  4. Storyman
    Posted 7 years ago #

    Anyone with a suggestion for creating a Category Page?

  5. optimisticfriend
    Posted 7 years ago #

    I use Page Category Plus:

    Current Version: 1.1
    Released 12th November 2007
    WordPress: Version 2.3 (and above) ONLY

    (Version 1.1 corrects a display issue with missing sub-pages - when not in the same category as their parent - and adds a new parameter to the template tag to enable page exclusions).

    What does it do?
    Page Category Plus allows you to assign categories to WordPress ‘Pages’ - which WordPress in it’s natural state does not do. Unlike prior versions of the old ‘Page Category Organiser’, it uses the same categories you use for ‘Posts’ and, in effect, treats Pages as if they were Posts.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.