maxweld
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Menu Item CSS Classes losing class pseudoselector ‘:’Hi @threadi. Colons are permitted when specifying pseudoclasses. I want to specify what happens when the cursor hovers over the menu item.
For example, hover:bg-red-600
would turn the menu item’s background to red when the mouse hovered over the menu item.I can apply this and it works using the functions.php, but cannot do so with the Admin fields.
- This reply was modified 1 year, 3 months ago by maxweld.
Forum: Fixing WordPress
In reply to: Page to display only one category of postsThanks vachi and moshu
I indeed need to do a lot of reading. I have only been using WordPress (or any blog/CMS system) for 3 weeks and have much to learn.
The Pages and Categories article is very interesting, and I agree. If I can use a Category instead of a Page, this would be preferable.
The problem as I see it is that I have many categories, and they need to be interleaved with the pages, like so:
Youth Rugby
- U17
- Coaches Notices
- Fixtures
- Match Reports
- U16
- Coaches Notices
- Fixtures
- Match Reports
- U15
- Coaches Notices
- Fixtures
- Match Reports
etc…
There are 14 Teams with several other categories. Category pages are in bold.This interleaving means that from what I understand so far, I either need to create pages that display single categories or sub-categories, or find some way of merging the pages and categories in a menu.
I accept that with a bit of work as in your article, I could hand craft a menu, but this would very inflexible, as it would need to be hand modified whenever the structure changed, i.e. if a new page was added.
So I believe that my next best option is to create a template for pages that will allow me to display a specified category or sub category. Then the page menu will work naturally and flexibly.
Other than having to code the template are there any other downsides?
I really do appreciate your advice as I am very new to this.