![]() |
List of all Custom Taxonomy terms?
I have a custom taxonomy called "Model" on my wordpress blog. I'd like to be able to create a functional "Browse by model" page on my site. I need to be able to just get a complete list of every term that is in that taxonomy and list it on one page. I've tried googling it, like always, but it's all Greek to me.
I'd like it to auto-update every time a new term is added, as well as have it listed alphabetically, with perhaps a column for every letter. Is there a plugin that can accomplish this? Thanks in advance, ~TT |
Code:
$terms = get_terms("my_taxonomy"); |
Sorry, I guess I still don't get it. I saw this when Googling around trying to find an answer as well but never found a satisfying answer as to how to implement it.
What exactly am I supposed to do with this? I'm trying to get it on this page: http://www.tittytweaker.com/browse-by-model/ But pasting it in there just shows the code, and not the list. |
Create a simple module or plugin or whatever word press calls it :)
|
Unfortunately I don't have the ability to do that, which is why I'm asking. I was hoping there was a way to do it with an existing plugin or chunk of code that way I don't have to go through and manually create hyperlinks for every term.
|
You put what was posted above into php tags and then change your term name and it should work. (I think )
Quote:
|
Installed a plugin to enable PHP in the posts and pages called PHP Execution. I've got a list now, but is there any way to make them clickable?
|
I think you do this, not sure if there is a better way.
Quote:
|
Quote:
. |
All times are GMT -7. The time now is 06:27 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc