Results 1 to 2 of 2

Thread: Remove "no categories"

  1. #1
    Thread Starter
    Rookie dkbss's Avatar
    Join Date
    Mar 2011
    Posts
    5
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Remove "no categories"

    Hey,

    So Ive been looking around for an answer and trying various things out but cant figure out how to remove the text "no categories" on my main page. Im trying to remove "no categories both on the main page and in the category roll over drop down.

    I have edited the theme-functions.php where is says "uncomment the line bellow to not display no categories"....but it is still there after doing this.

    Ive tried taking out the name In the same function It says to uncomment and still no changes. The specific lines ive been playing with is this:

    PHP Code:
    // if you want to strip out the no categories text, just uncomment the line below
                // $subcats = str_replace('<li>No categories</li>', '', $subcats); 
    my url is BookStoresSuck.com

    It is my understanding that where it says no category that is where subcategories would be. However I dont have and not planning to have sub categories. so if I could turn it off somehow so it does not show up on either the main page or the roll over drop down that would be perfect.

    Thanks a lot for your help in advanced!
    Last edited by dkbss; March 30th, 2011 at 12:38 PM. Reason: typo

  2. #2
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. The Following User Says Thank You to pepsi For This Useful Post:

    dkbss (March 30th, 2011)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [MOD NEEDED] Remove "browse by" salary/used ect space and just have browse by " tags" (cloud or?)
    By mstrong in forum JobRoller General Discussion
    Replies: 11
    Last Post: February 8th, 2011, 05:45 PM
  2. Remove "listing for" in ads category title
    By dmask in forum ClassiPress General Discussion
    Replies: 1
    Last Post: December 31st, 2010, 04:20 AM
  3. Replies: 4
    Last Post: December 29th, 2010, 04:57 PM
  4. Different "stock photo" based on category (change "no image available")
    By Skid in forum ClassiPress General Discussion
    Replies: 1
    Last Post: November 12th, 2010, 08:05 AM