• Resolved CapeCodBranding

    (@capecodbranding)


    I currently use the permalink structure ‘Day & Name” and I love it b/c it is very easy to ‘see’ what page you are on in my blog. I’d like to keep using that structure for my links. The problem is that Categories don’t work on my site. No matter which Category widget I use, it just yields a blank page (with header but no content). However, Categories do work if I use the Default Permalink structure.
    My category link structure is currently redirecting to this;

    http://capecodbranding.com/blog/category/how-to/

    How can I alter this so categories work? I noticed in “Control Panel > Settings > Permalinks” there is a place to override just the categories (or tags) link structure and I’ve been playing around but can’t find a solution that works.

    Any help would be appreciated!
    Thanks,
    amy

Viewing 6 replies - 31 through 36 (of 36 total)
  • This is set in Settings > Reading, but I assume you are wanting 50 on the category page and not on your blogs homepage. Not sure if this will work, but place the following code before the < ?php if (have_posts()) : ? > in category.php

    <?php query_posts('showposts=50'); ?>
    Thread Starter CapeCodBranding

    (@capecodbranding)

    Yes & No. Yes it does populate the page with 50 post titles. However, it pulls them from multiple categories, despite which category you’re viewing.
    At first I thought this might be b/c it was ‘forcing’ 50 posts per page even if the particular category only had, say 10 posts. So I changed the code to display only 5 and tested it again (going to the Apple category), and oddly enough, none of the five posts showing where labeled within the Apple category. It seems to work as a ‘random posts’ feature. Unless I did something wrong?
    🙂

    No, you did not wrong. I would delete that bit of code from your file. I will investigate a little further. I am looking at this particular page to see if there is a tag and argument that can be used.

    Ok, there is nothing in WordPress Codex that I could find to make this happen. However, I found this plugin that may do the trick. Just keep the number to 3 for the pages you would like with the exception of the category (set to 10 or what ever number you like). If this plugin does not work, disable and delete it.

    Thread Starter CapeCodBranding

    (@capecodbranding)

    Yup, that did it!

    Thank you SOOO much Parkstreet! I would have been lost in this for months without your help. 🙂

    Let me know if you ever need help with anything (anything other than WordPress that is!).

    Thanks again!
    amy

    Not a problem. I have been working with WordPress since it was a baby and I am happy to help out. If you need anything else, feel free to contact me via my website.

Viewing 6 replies - 31 through 36 (of 36 total)
  • The topic ‘How to rewrite Category Permalink Structure’ is closed to new replies.