Quantcast
Channel: Is it possible to get every category dynamically to display it?
Viewing all articles
Browse latest Browse all 12

Is it possible to get every category dynamically to display it?

$
0
0

@i73 wrote:

I’m pretty sure I’m knowledgeable about the taxonomy system, what I’m trying to do is grab every category of every data item object in my data folder and use that to populate a navbar dynamically (not have to set up a list of items)

Item1{
“category” : “foo”
}

Item2{
“category” : “bar”
}

Let’s say I have those two items in my data folder, what I want to do is create a function that will go through both of those items parse the categories and add them [foo, bar] to a navbar without any duplicates. Doing it this way gives me the ability to let my clients dynamically add product categories to their website without me having to go through and manually put in taxonomy category.

Read full topic


Viewing all articles
Browse latest Browse all 12

Trending Articles