Here’s My solution:
http://jhcband.org/partners?cn-cat=22
As soon as I get the text in the descriptions done I will change the menu item on top that says “Links” to “Our Partners” and link to the above, so the default is category 22.
For the boxes on the right, I was able to get the description from your example but I could not figure out how to get it from a category other than the current one, so I ended up querying the database and using a LEFT JOIN, the title and description are controlled in Connections admin, Categories. for the links I just added the ?cn-cat=[category number] to the links. It’s working perfectly so far.
I had trouble with the title being too long for my design, I just wanted the category name, not the page title. I could not figure out how to do it using your code so I just changed
this:
‘the_title();’
to this:
‘echo substr(get_the_title($ID), 0, -20);’
If there was an easier way I’m curious.
PHP = Some days I’m a Rock Star and some days I’m a Village Idiot, this morning I’m a rock star, but the day’s not over.
Thanks again,
Julie
