I have one category and it's subcats that I want <%Number_of_Links%> to show up on my category pages. I know I can edit them in the subcategory.html file and use a seperate template set, but so far, I have been able to get away with only 1 template set. I'm hoping to figure out how to use an if statement to get my desired results.
I am building static pages.
Here's what I am hoping to do:
<%if (parent category) eq 'classifieds'%>
<%Number_of_Links%>
<%endif%>
so that all the subcategories underneath the category "classifieds" will then show the results of <%Number_of_Links%>.
Is this possible? How would I word the if statement?
The idea is that I only want the category Classifieds and it's subcats to show the <%Number_of_Links%>.
Thanks!
I am building static pages.
Here's what I am hoping to do:
<%if (parent category) eq 'classifieds'%>
<%Number_of_Links%>
<%endif%>
so that all the subcategories underneath the category "classifieds" will then show the results of <%Number_of_Links%>.
Is this possible? How would I word the if statement?
The idea is that I only want the category Classifieds and it's subcats to show the <%Number_of_Links%>.
