• As anyone who’s used a theme without a page.php will know, all Pages are automatically set to the default category. I would like a way of assigning a category to a Page (so I could, for example, put my ‘wordpress help’ page in the ‘wordpress’ category along with my wordpress templates). Is there a plugin or hack that would enable me to do this? I don’t mind messing with function files if I have to.

Viewing 9 replies - 16 through 24 (of 24 total)
  • I do something similar to Sito, except I use the excellent “Fold Page List” plugin from
    https://www.webspaceworks.com/wp-plugins/foldpagelist.html

    Thus the parent page ‘pretends’ to be a page category. Clicking the parent page name loads the parent page and displays its child pages below it.

    The only awkward bit about this way is that the parent page actually has to have some content. In this case I generally put a bit of text about that particular ‘fake category’.

    Perhaps a messy way of doing it, but it works!

    Well, I came here in search of an answer to my problem of not being able to assign pages to a “category”. I’m using Journalized Winter and after saving index.php as page.php, I finally gave up. I made a blank “parent page” as suggested and made my pages the child. However, it still would not put the pages created my under the category headings I had set up.

    When I am speaking of a “Category”, I am actually referring to the “Get Links” function of being able to input a link location and have it automatically appear under a heading you have assigned (in my case on the right sidebar). I want to be able to have my pages listed under specific headings.

    My solution was to use the styles.css file in an html file I created and just make them independent pages that I linked in using my link categories. A lot more work, but the css allows it to have the same look and feel.

    Hopefully the makers of the 1.6 will be listening….I love the idea of a “live” site (i.e, the blog postings) but there needs to be a middle ground of being able to present “pages” that are dateless and don’t change. If WP is to be a true CMS, this must be more flexible.

    Hi seogirl,

    I am afraid I don’t quite understand what you are describig in your first paragraph? Do you have an example?

    I believe that either
    1. the use of a dummy parent page (and using wp_list_pages with the childof option). Note that in this method, a parent page is not a true category and so cannot be accessed as a normal category.
    2. “fold page list” plugin as suggested by wessex
    should be able to do what you want for the second point.

    I’m pretty sure this thread is where I want to weave. I’m using a modified version of K2. I’ve created some Pages via Create Page. I’d like to be able to “Blog” on each page – to have posts with comments, etc. I thought I might be able to do this with some sort of php command on the Page, but have not stumpled across one just yet…

    For instance on my “News” page, have <php get “news”>. (I know that’s not right code, but you get the picture?

    This would allow me some static comment on top of the page, and then the posts would appear under them…

    I’m wanting to do the same thing as duckster…also on a modified k2 (slightly).

    Any direction would be appreciated?

    For what duckster wanted you don’t need a Page – just customized Category Templates… and some reading in the Codex.

    I know this is so over a year ago and after the fact but Jinsan is right…

    The purpose of a bicycle was to get from point A to point B faster…. tell that to Lance Johnson Lorelle lol

    WordPress is becoming an CMS because of pushing the limits!

    It still isn’t and my post is a year after this discussion…. should you doubt me, check joomla. Unfortunately for Joomla, as of presently, its not very search engine friendly tagging is a nightmare with it and only frontpage “news” posts get indexed. I suppose one day, wordpress will meet joomla and they’ll call it heaven ??

    BTW, I found a genius at getafreelancer.com that was able to implement what I wanted in my k2 themed blog!

    I have a need to have groups of static pages that are referenced from my sidebar or from other “parent pages.”

    I use a plugin called List Manager (https://www.navidazimi.com/projects/wp-lists/) to group the pages the way I want and then display the list of pages in the sidbar. List Manager accepts a URI, which I use to link the title of the page in the sidebar to the page itself. This is how I built the finished objects list in the right sidebar.

    I’ve also used List Manager to add an index of static pages to a parent page that is accessed from my nav bar — i.e. “freebies” displays two lists and “galleries” displays a list of galleries.

    What I really like about this solution is that I can create a new page on the fly from anywhere that I have computer access, and then by simply adding the page title and URI to the relevant list via the admin console, I can display the link where I want it. I don’t have to edit any template or sidebar or mess around with WP innards.

    At least not to do that.

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Assign categories to Pages?’ is closed to new replies.