Home page subcategories display issue on classipress update (3.1.7)
Hi
In January, I purchased classipress 3.1.6 & I started workin on it. Following is the hierarchy of categories i added on my site in general
Main Category>Sub category(1)Sub category(2)>Sub category(3)
Then, i came across this issue that all the subcategories i was adding in the parent categories they all started showing on home page (Main cat & all sub cats). This is not what i wanted. My target was to show only the Parent Cat & only sub cat(1), not to show 3rd & the 4th sub cats. Then i saw a thread on this forum, somebody talked about making the following change in theme-functions.php file on line around 1652 in classipress/includes folder
ORIGINAL CODE
// now get all the sub cats based off the parent cat id
on line 1652 : hierarchical=0
MODIFIED CODE
// now get all the sub cats based off the parent cat id
on line 1652 : hierarchical=1
That change brought a smile on my face. Then in february, a new version of classipress 3.1.7 was released. i updated it, that change took away a smile from my face. I knew it will change the code in theme-functions.php. After update, it started showing all the cats on home page again. To overcome this, i went back to the same file and tried to look for that piece of code but i could not find it.
Now, can anyone please suggest me where do i have to make any change in 3.1.7 version to achieve the desired result on the home page which i described above. I will appriciate your help.
thanks.
Maj