WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to not list child categories (12 posts)

  1. Alexgeek
    Member
    Posted 6 years ago #

    Hello,
    I'm working on changing:
    http://creativecoding.webforumz.com/
    to wordpress at:
    http://www.creativecoding.net/development/

    I have a few problems I hope someone can help with.

    1. How to remove category and add the year to thr url from the following:
    http://www.creativecoding.net/development/editions/category/october/articles/
    So that it will be near enough:
    http://www.creativecoding.net.development/editions/2007/october/articles/

    2. How to make the link from above list the sub categories rather than all the posts.

    3. In the subcategories of the above link, how can I display only a few lines of each post rather than the whole of it?

    I know that's a lot but hopefully you can help!

  2. brockangelo
    Member
    Posted 6 years ago #

    This topic is called "Permalinks" and you might find this page helpful:

    http://codex.wordpress.org/Using_Permalinks

    1. "/category/" is a function of wordpress. Each category you have in your wp blog will use this pre-fix. So, I'm guessing you have an "October" category.

    2. "/2007/" is also a function of the wordpress archive format. But to my knowledge, you can't change the structure from /2007/10/ to /2007/October/. It is referred to as "monthnum". You might be able to get creative with your permalink structure though. But it is beyond my scope.

    If this hasn't been done already, this may be a good idea for a plugin: A plugin that changes your "Monthnum" values to their Common name (ie, "10" becomes "October" in your permalinks).

  3. Alexgeek
    Member
    Posted 6 years ago #

    Thanks for that info!

    Just need help with my other two questions about changing:
    - the top-level-category to display it's sub categories rather than all the posts.
    - the sub-categories to display only a summary of the post rather than the whole post.

    Thanks.

  4. brockangelo
    Member
    Posted 6 years ago #

    Sorry - I must have skipped right over that.

    The real number two could be addressed using a Category Template found here:

    http://codex.wordpress.org/Category_Templates

    This would allow you to do whatever you want with that particular category.

    Then, for number three, you would work with custom category templates in addition to this:

    http://codex.wordpress.org/Category_Templates#Excerpts_vs._Full_Posts

  5. Alexgeek
    Member
    Posted 6 years ago #

    Thanks very much!

  6. Alexgeek
    Member
    Posted 6 years ago #

    One more thing before I mark this as solved.
    How do I list the child categories of a parent category?
    Or do I have to do this manually?

  7. moshu
    Member
    Posted 6 years ago #

  8. Alexgeek
    Member
    Posted 6 years ago #

    Great! Thanks guys.
    Might be back soon ;)

  9. Alexgeek
    Member
    Posted 6 years ago #

    Sorry again!
    Is there a way not have them in a unorded list and not display, "categories" before listing them?

  10. moshu
    Member
    Posted 6 years ago #

    Just read the whole article... lots of info if you look at the Parameters..

  11. Alexgeek
    Member
    Posted 6 years ago #

    Yes, I guessed it would be:
    &hierarchical=0

    But that didn't work.

  12. Alexgeek
    Member
    Posted 6 years ago #

    found it!
    style parameter

Topic Closed

This topic has been closed to new replies.

About this Topic