Forum Replies Created
-
AuthorPosts
-
FreshySites
ParticipantWe’re not showing taxonomy terms like that though. We’re puling from from the entire taxonomy. This way, if/when a new one is added, we don’t need to go into Ajax Search Pro settings and check a new box each time. Given this setup, how would we toggle an option to automatically exclude empty terms?
Screenshots: https://i.imgur.com/H1G2STx.png and https://i.imgur.com/rVS7mqD.png
It would be good if you could push an update that would omit empty terms, when using this sort of setup.
FreshySites
ParticipantWas hoping for a way to hide it from the DOM properly without CSS. But I suppose it’ll have to do for now.
FreshySites
ParticipantExcellent! That seems to work great. Thanks so much!
FreshySites
ParticipantThanks for that. I’m vaguely familiar with using hooks like these.
However, I’m not able to figure out how to wrap the particular term with its corresponding URL. Would it be feasible to update that Gist (or create a new one) that shows how to go about doing that? I would think the community would also greatly appreciate that, as it seems to be the only thing missing from the plugin.
It’s the last piece we need, before being able to make full use of your plugin.
FreshySites
ParticipantThanks! I’ll try that out and use some CSS to get it to look closer to our design.
One other question I had is:
I added this to the Description area, to be able to show the categories:
<p class="post-meta">{_taxonomy_category count=2 separator=' '}</p>{descriptionfield}But how do I wrap the category terms with a link to their actual category term archive page? Is there a better way to insert the categories above the description, so that they can link to the proper location?
-
AuthorPosts