jmcintyreaboutsage
Forum Replies Created
-
Forum: Plugins
In reply to: [Connections Business Directory] Display category descriptions?Thanks again for the reply, and for the API example. It’s helpful, though I’ve decided to go with keeping the descriptions on the pages — as it turns out, some are quite lengthy and would be unwieldy on the Categories admin page.
I’ll look further into cnTerm::get() for future reference. Is the best place to look for public methods within the Connections code itself?
Forum: Plugins
In reply to: [Connections Business Directory] Display category descriptions?Thanks for the quick reply, Steven!
To break it down a bit, I do plan to use the
[connections]shortcode multiple times on a page, but only the page itself would get a description. The description would be for the major category the page represents. The shortcodes would fetch listings in that major category and in other, more granular, categories, using syntax like[connections category_in='3,10'], where 3 might be Libraries and 10 might be Regional. At the top of the page I’d want only the description associated with Libraries.I see what you’re saying about typing the descriptions into the page and certainly can go that route if needed. I was hoping for a more elegant solution, given that the descriptions are already in Connections and associated with the categories. Perhaps Connections has an API function that I could query to get them?