Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Home page subcategories display issue on classipress update (3.1.7)

  1. #1
    Thread Starter
    Amateur majidmughal's Avatar
    Join Date
    Jan 2012
    Location
    United Kingdom
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts

    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

  2. #2
    aj270303's Avatar
    Join Date
    Dec 2011
    Location
    United Kingdom
    Posts
    2,106
    Thanks
    56
    Thanked 99 Times in 81 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Amateur majidmughal's Avatar
    Join Date
    Jan 2012
    Location
    United Kingdom
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Thread Starter
    Amateur majidmughal's Avatar
    Join Date
    Jan 2012
    Location
    United Kingdom
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  5. #5
    Veteran demonlee's Avatar
    Join Date
    Mar 2011
    Location
    Antas, Spain
    Posts
    574
    Thanks
    6
    Thanked 51 Times in 46 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Demon- I shoot People
    www.demonlee.com Photography Website
    www.seemeadvert.co.uk Classipress Website
    www.imdb.me.com/demonlee Film

  6. #6
    Thread Starter
    Amateur majidmughal's Avatar
    Join Date
    Jan 2012
    Location
    United Kingdom
    Posts
    14
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  7. #7
    Junior Member nebc's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    22
    Thanks
    15
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Junior Member nebc's Avatar
    Join Date
    Feb 2012
    Location
    Canada
    Posts
    22
    Thanks
    15
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #9
    Veteran demonlee's Avatar
    Join Date
    Mar 2011
    Location
    Antas, Spain
    Posts
    574
    Thanks
    6
    Thanked 51 Times in 46 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Demon- I shoot People
    www.demonlee.com Photography Website
    www.seemeadvert.co.uk Classipress Website
    www.imdb.me.com/demonlee Film

  10. #10
    Senior Member appouser's Avatar
    Join Date
    Feb 2011
    Location
    Melbourne,Australia
    Posts
    133
    Thanks
    43
    Thanked 20 Times in 16 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Home Page Issue
    By systemsnews in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: August 19th, 2011, 10:46 PM
  2. [SOLVED] Set Home Page to Display Categories
    By ckillian in forum Help Using ClassiPress
    Replies: 7
    Last Post: May 4th, 2011, 06:06 PM
  3. Home Page Ads Display
    By drazilek in forum Report ClassiPress Bugs
    Replies: 6
    Last Post: December 20th, 2010, 10:58 AM