How to remove the ads counts from the categories on home page

Discussion in 'ClassiCraft WordPress Theme' started by robo, Sep 27, 2013.

  1. robo

    robo New Member

    Joined:
    Jun 9, 2013
    Messages:
    12
    Likes Received:
    0
    Please let us know how to remove these ads counts a screenshot is attached herewith,
     

    Attached Files:

  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Go to library > control> theme_functions.php present in your theme directory and remove the code given below

    Code:
        // only show the total count if option is set
                                if ($cc_cat_child_count == 1)
                                    $show_child_count = '(' . $subcat->count . ')';
                                else
                                    $show_child_count = '';
    Sending image for reference


    2013-09-28_1137.png


    This will solve your issue.
     
  3. robo

    robo New Member

    Joined:
    Jun 9, 2013
    Messages:
    12
    Likes Received:
    0
    Hi,

    Thanks for your prompt, but how do i access library- cntrol- theme_functions.php , thanks in advance

    (Go to library > control> theme_functions.php present in your theme directory and remove the code given below)
    Cheers,
    Sachin
     
  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Sachin,

    You can access this file through FTP.
    Through dashboard it is not access or edit it.
     
  5. pegasus6464

    pegasus6464 Member

    Joined:
    Sep 9, 2013
    Messages:
    68
    Likes Received:
    5
    very useful thank you!
     
  6. pegasus6464

    pegasus6464 Member

    Joined:
    Sep 9, 2013
    Messages:
    68
    Likes Received:
    5
    And how can we remove the count of subcategories????

    [​IMG]
     
  7. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For this go to the

    classicrafttheme\library\control\theme_functions.php
    and follow instructions shown in the image.

    child-count.png
     
  8. pegasus6464

    pegasus6464 Member

    Joined:
    Sep 9, 2013
    Messages:
    68
    Likes Received:
    5
    I need to hide the count of the subcategories no (not the categories count) :(
     
  9. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    In category "Aficiones y ocio".
    "Caza y pesca" is a sub categories and "Articulos de caza" is a sub sub category.
    It is not possible to remove count only from sub category.
     
  10. robo

    robo New Member

    Joined:
    Jun 9, 2013
    Messages:
    12
    Likes Received:
    0
    Gourav & Nitesh you guys rock! Thanks so much for your prompt responses, it was very Helpful. thanks a ton!
     
  11. flipaven

    flipaven New Member

    Joined:
    Nov 4, 2015
    Messages:
    15
    Likes Received:
    0
    Hi Inkthemes,

    I also wanted to do the same thing by removing the category count. I'm having issue accessing "Go to library > control> theme_functions.php" or "classicrafttheme\library\control\theme_functions.php".

    Please help and I've included a screenshot. Thanks in advance.

    flipaven ftp.png
     
  12. priya

    priya Guest

    Hello,

    You can easily edit the file by using wp-editor plugin in your dashboard.

    You can also download and use it from the link https://wordpress.org/plugins/wp-editor/.

    After installing this editor you just simply have to go Appearance=>Theme Editor=>Library=>control=>theme_functions.php file and edit the content as you want.

    Here I am also providing you a screenshot given below, please have a look..

    remove_counting.png

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  13. flipaven

    flipaven New Member

    Joined:
    Nov 4, 2015
    Messages:
    15
    Likes Received:
    0
    Hi Priyanka,

    I tried removing the highlighted part but it didn't work. Specifically speaking, I wanted to remove the count in the subcategory. I've included a screenshot for reference.

    Thanks,
    flipaven
     

    Attached Files:

  14. priya

    priya Guest

    Hello Flipaven,

    I just want to confirm that have you followed all the steps as mentioned in the earlier screenshots as well.

    If still you are in the same problem after following all that screenshots, please send us your dashboard details at [email protected] and we will do it for you.

    Looking forward to your reply.

    Thanks & Regards!
    Priyanka
    InkThemes.com
     
  15. flipaven

    flipaven New Member

    Joined:
    Nov 4, 2015
    Messages:
    15
    Likes Received:
    0
    Hi Priyanka,

    I just sent my dashboard details.

    Thanks,
    flipaven
     
  16. priya

    priya Guest

    Hello,

    Thanks for the details..

    We will get back to you soon..

    Your patience will be appreciated.

    Thanks & Regards!
    Priyanka
    InkThemes.com
     

Share This Page