• Hello. I’m working on a WordPress installation and have a question. I hope this is possible, or hopefully someone will have found a solution for this.

    Everything about the blog is pretty typical. We will have a handful of top level categories with blogs in each of them. However, each category will have a page like:

    mydomain.com/category/news
    mydomain.com/category/whatever

    These pages will all use the same template (hopefully), but will use different data based on the category the user is browsing.

    How does one pull this off?

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m not quite sure what you are trying to do here. What kind of data do you want to see in each page?

    Thread Starter mistergoomba

    (@mistergoomba)

    The data doesn’t really matter. The hope is that I can have:

    /category_1/news
    /category_2/news

    and have them use the same template. Hopefully without having to create a new page under every single category.

    That’s pretty much the whole point of using WordPress right there.

    Go to Settings->Permalinks in the admin page. You should be able to set up that kind of directory structure from there. https://codex.www.ads-software.com/Using_Permalinks

    If you assign categories to your posts, they will show up as a feed in your category directory. Try it out and let us know if you have any difficulties!

    Thread Starter mistergoomba

    (@mistergoomba)

    Thanks, I’ll look in to hacking the .htaccess file to get my desired result.

    I’m sorry that I’m having a problem explaining what I’m trying to do. I don’t intend for /news to be a post within a certain category. I just need one template for all categories that will incorporate the /news permalink.

    /news will probably not even have any WordPress data in it, other than checking to see what category it’s in.

    Thanks again! I think I can try to use the .htaccess file to achieve what I want.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘I'd like a page to spread across all categories’ is closed to new replies.