Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter linzgroves

    (@linzgroves)

    Thanks to /r/Wordpress, I was pointed to validating the CSS. I tried validating the css that wasn’t working and there were a million parse errors from the styles being copied and pasted, which added extra characters that I couldn’t see. I was able to paste in the styles from the working file and it validated and shows up now (after clearing cache)!

    Thread Starter linzgroves

    (@linzgroves)

    bcworkz,

    Super helpful and I appreciate that extra explanation of how archive-endpoint.php can be used for this, which is a file I already had setup so off to a good start.

    Thanks for everything!

    Thread Starter linzgroves

    (@linzgroves)

    bcworkz,

    Thanks so much for the insight – I think I’m beginning to wrap my brain around how to do this now. You’re correct that the categories are only used for these endpoints and I’m glad that you mentioned putting all the category IDs into an array – makes so much sense. I’m still a bit stuck on how to use the in_array() function. Will I need to create separate if statements that will first check for the page id of a page? For example, say the main page for the ‘foo’ category that will display any endpoints that have the ‘foo’ category checked – will I be creating an if statement that specifically checks to see if this is first the ‘foo’ page and then if so, check in the array for any elements that contain the ‘foo’ category?

    Again, thanks for the input here!

Viewing 3 replies - 1 through 3 (of 3 total)