WordPress.org

Forums

Category pages with unique content? (4 posts)

  1. thelaw
    Member
    Posted 2 years ago #

    If there is one thing I find very frustrating about WordPress, it's the inability to set up a page for each category that can act like a hybrid of a page and a rolling list of articles for each category. In most serious publishing platforms, it doesn't work that way. I should have a page for every category and a space to put content above where the articles appear.

    For example, I should be able to do this for every category of my car blog, e.g. Ford, GM, Ferrari, etc. I don't know why you can't have a page and then define where on the category page you put the list of articles like a feed.

    -----------------------------

    Cars blog, Ford News:

    FORD CATEGORY TITLE

    unique ford related text here such as that it covers the Mustang, Jeeps and a whole bunch of other great cars, started in 1492, etc.

    Useful Resources Links Useful Ford buying tips
    Link 1 Tip 1
    Link 2 Tip 2

    LATEST FORD ARTICLES
    Article 1
    Article 2
    Article 3

    ------------------------------

    So I'm wondering, is it possible to map category pages to an individual page? So for example, my category pages should just be:

    carblog.tld/ford/
    carblog.tld/gm/

    and the ford category is nothing more than a map to a ford page where I can enter in my content and put in a feed from the Ford category to be my layout for the blog.

    As of right now, there is no way I can think of to easily put your text above the blog list as if it were a page except to hack the category.php file and manually enter in text for EVERY category you have along with php code to be called only if that category is pulled. It's extremely unuseful and unweidly. There has to be a better solution and I can't be the first to think of this!

  2. thelaw
    Member
    Posted 2 years ago #

    One more thing that doesn't make sense: the structure of URLs is as follows:

    site.com/ = root
    site.com/category/ = 404 error
    site.com/category/categoryname = category page
    site.com/category/categoryname/page-title/ = page title

    I understand a need to differentiate between post and pages but there should be a better way. The natural movement of the URL completely breaks user expectations and consistency. What should happen is:

    site.com/blognameoptional/categoryname/postname/

    Most importantly, I need that category page to function! :)

  3. thelaw
    Member
    Posted 2 years ago #

    Doing it all the hard way... I guess there is no simple way. So it goes!

  4. keesiemeijer
    moderator
    Posted 2 years ago #

    I get a 404 with this
    site.com/category/categoryname/page-title/ = 404

    You can create a Page called "category":
    site.com/category/ = page

    With a permalink structure like this: /blognameoptional/%category%/%postname%/
    you can have this:
    site.com/blognameoptional/categoryname/postname/

    see: http://codex.wordpress.org/Using_Permalinks

Topic Closed

This topic has been closed to new replies.

About this Topic