• Resolved Pdnorell

    (@pdnorell)


    Hi

    My WP is HERE

    I read HERE that a menu can be used to create a page of only a certain category of posts. Is there a way to create a page that only shows a certain category of posts without using menus? My theme only allows two menus, and unless someone can show me how to add more horizontal menus, I’ll have to stick to creating pages as my navigation.

    For example, I have a technology page on my WP. I would like that to be page that shows just the posts with the category ‘technology’. I tried setting the page’s link to /category/technology but WP removes the slashes, nulling the link.

    TL;DR: Put specific category posts on a page or add more horizontal menus to my theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • A theme allows an unlimited number of menus. What you mean is your theme is set up to DISPLAY only 2 menus. You can display all you want, just add the code in functions.php and put the call to it wherever you want.

    You need to go one page deeper into the page you put the link to
    https://en.support.wordpress.com/category-pages/ for the answer to your question, but it looks like you figured it out, though:
    https://peternorellmusic.com/category/composer/.
    But you have no posts under the category “composer”, so there’s nothing there but the title, which you can hide, if you want, by the way, with this code:
    body.category h1.archive-title {display: none;}

    Thread Starter Pdnorell

    (@pdnorell)

    Defosses Nate,

    Thank you for the help. I’ll have to figure out the code to add new menus. It’s been a while since I’ve operated in HTML and CSS but I think I can figure it out again without too much trouble.

    I also just realized that I can create a single menu that will do what I want. I’ll use the bit of code you supplied to null out pages that I don’t want to lead anywhere. I put all my pages into a menu (before I wasn’t using a menu at all, I was just using the default list of pages with children).

    That css I put up only makes the title disappear on category archive pages.
    It would just delete the line “Category Archives: Composer”.

    There’s also a way to make that display a custom title, but I don’t know how to do it.

    Thread Starter Pdnorell

    (@pdnorell)

    Nate,

    After exploring the menu options a bit, it’s also obvious that i misunderstood what “links” could do. I’ve now set the top menu things so that they can be links to nothing (or aka the homepage) but still act as parents to subcategories or other pages.

    Thanks a lot for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Limited by menu options’ is closed to new replies.