Wordpress question, how do I remove categories from displaying in the admin?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chadglni
    Confirmed User
    • Dec 2002
    • 6924

    #1

    Wordpress question, how do I remove categories from displaying in the admin?

    I have a ummm few too many so it takes the page forever to load. Anyone know what template to edit / the funtion to remove to it doesn't display? I'm not used to css.


    Sign up here - Dating Site affiliate program
  • Walrus
    Confirmed User
    • May 2005
    • 2150

    #2
    Maybe I'm in luck. Chad, is there any way you could PM me now? I swear, it's urgent. 348-117-811

    Comment

    • DaveMac
      Confirmed User
      • Jul 2001
      • 361

      #3
      Edit your sidebar.php template by deleting this:

      <?php _e('Categories'); ?>

      Comment

      • chadglni
        Confirmed User
        • Dec 2002
        • 6924

        #4
        Originally posted by evilmonkey
        Edit your sidebar.php template by deleting this:

        <?php _e('Categories'); ?>
        I'm referring to the list in the admin where you write / edit posts and check off a category. I found the one for the index already.


        Sign up here - Dating Site affiliate program

        Comment

        • chadglni
          Confirmed User
          • Dec 2002
          • 6924

          #5
          Bump bump bump it up. ;)


          Sign up here - Dating Site affiliate program

          Comment

          • chadglni
            Confirmed User
            • Dec 2002
            • 6924

            #6
            <sniff>


            Sign up here - Dating Site affiliate program

            Comment

            • InGayPorn
              Confirmed User
              • Nov 2005
              • 177

              #7
              If I understand your question, you can't without deleting the categories, or editing the sidebar.php as suggested. But I doubt seriously that your category listings are affecting the page load. If you have a lot of photos on your blog, then I'd suggest cutting back on the number of posts that display per page.

              Submit your news worthy announcements to InGayPorn.com

              Comment

              • chadglni
                Confirmed User
                • Dec 2002
                • 6924

                #8
                Originally posted by InGayPorn
                If I understand your question, you can't without deleting the categories, or editing the sidebar.php as suggested. But I doubt seriously that your category listings are affecting the page load. If you have a lot of photos on your blog, then I'd suggest cutting back on the number of posts that display per page.
                Ok, I already deleted categories from the viewers end of it. I'm not using wordpress for a blog and I have THOUSANDS of categories. When you click on write post or edit post in admin it gives you all categories so you can check off where that post belongs. I need to know the template / code to remove that list from the admin. It's in there, I just don't know css well enough to find my way around.


                Sign up here - Dating Site affiliate program

                Comment

                • chadglni
                  Confirmed User
                  • Dec 2002
                  • 6924

                  #9


                  On the right side after you click the image.


                  Sign up here - Dating Site affiliate program

                  Comment

                  • OzMan
                    Confirmed User
                    • Sep 2003
                    • 9162

                    #10
                    I like the fact that you are apparently thinking out of the box with using WP but I can't see where you are heading when you say you are not using WP as a blog...

                    If you made thousands of categories just for the SEO benefits of the resulting feeds, you still need the posts that those feeds are based on to be displayed in order to be indexed even if you are mass submitting your feed urls.

                    I assume you are automating the posting process so I don't see why you need the manual admin area to display nicely without all those categories if you aren't using it.

                    Comment

                    • ionsphere
                      Registered User
                      • Nov 2005
                      • 38

                      #11
                      Chadglni:

                      You may want to look into /wp-admin/admin-header.php

                      On line 161:
                      addLoadEvent(newCatAddIn);

                      Comment that out and hopefully it should work. I haven't tested it out yet, as I don't have WP v2 installed.

                      Basically you are disabling the categories loader. Whether it disables only the visualization part or the entire category list, I haven't looked too much into it.

                      I suspect not, but try it any way.

                      I'll respond in an hour or so with the 'proper' solution
                      ICQ: 218-449-257

                      Comment

                      • chadglni
                        Confirmed User
                        • Dec 2002
                        • 6924

                        #12
                        Originally posted by ionsphere
                        Chadglni:

                        You may want to look into /wp-admin/admin-header.php

                        On line 161:
                        addLoadEvent(newCatAddIn);

                        Comment that out and hopefully it should work. I haven't tested it out yet, as I don't have WP v2 installed.

                        Basically you are disabling the categories loader. Whether it disables only the visualization part or the entire category list, I haven't looked too much into it.

                        I suspect not, but try it any way.

                        I'll respond in an hour or so with the 'proper' solution
                        I'll check it out now, thanks for the suggestion.


                        Sign up here - Dating Site affiliate program

                        Comment

                        • chadglni
                          Confirmed User
                          • Dec 2002
                          • 6924

                          #13
                          Originally posted by OzMan
                          I like the fact that you are apparently thinking out of the box with using WP but I can't see where you are heading when you say you are not using WP as a blog...

                          If you made thousands of categories just for the SEO benefits of the resulting feeds, you still need the posts that those feeds are based on to be displayed in order to be indexed even if you are mass submitting your feed urls.

                          I assume you are automating the posting process so I don't see why you need the manual admin area to display nicely without all those categories if you aren't using it.
                          Posts are displayed, categories aren't displayed on the main site but they are in the RSS feed still.


                          Sign up here - Dating Site affiliate program

                          Comment

                          • ionsphere
                            Registered User
                            • Nov 2005
                            • 38

                            #14
                            Originally posted by chadglni
                            Posts are displayed, categories aren't displayed on the main site but they are in the RSS feed still.
                            Okay,

                            Are you trying to prevent categories from being loaded in the admin area when you edit posts via "Manage=>Posts" or is it something more?

                            PS Sorry I didn't get back to you with that 'proper' solution as I got bogged down with ABP last night.



                            Thanks,
                            the Ark
                            ICQ: 218-449-257

                            Comment

                            • chadglni
                              Confirmed User
                              • Dec 2002
                              • 6924

                              #15
                              Originally posted by ionsphere
                              Okay,

                              Are you trying to prevent categories from being loaded in the admin area when you edit posts via "Manage=>Posts" or is it something more?

                              PS Sorry I didn't get back to you with that 'proper' solution as I got bogged down with ABP last night.



                              Thanks,
                              the Ark
                              Yes, that is exactly what I'm trying to do. I looked for the other code you mentioned but I have a different version installed and the file was different.


                              Sign up here - Dating Site affiliate program

                              Comment

                              • ionsphere
                                Registered User
                                • Nov 2005
                                • 38

                                #16
                                Originally posted by chadglni
                                Yes, that is exactly what I'm trying to do. I looked for the other code you mentioned but I have a different version installed and the file was different.
                                Ah yes, I was talking about WordPress v2.0.

                                I can find the code for you for v1.5+ if I get a chance.
                                ICQ: 218-449-257

                                Comment

                                • ionsphere
                                  Registered User
                                  • Nov 2005
                                  • 38

                                  #17
                                  Okay, the code is finished.

                                  Please download it from http://www.relinksoftware.com/temp/edit-form.zip and unzip this into /wp-admin/.

                                  As you'll see, I commented out the section for the categories altogether giving you a clean workspace in WP 1.5.

                                  Take care
                                  ICQ: 218-449-257

                                  Comment

                                  • chadglni
                                    Confirmed User
                                    • Dec 2002
                                    • 6924

                                    #18
                                    Originally posted by ionsphere
                                    Okay, the code is finished.

                                    Please download it from http://www.relinksoftware.com/temp/edit-form.zip and unzip this into /wp-admin/.

                                    As you'll see, I commented out the section for the categories altogether giving you a clean workspace in WP 1.5.

                                    Take care
                                    Thanks a million man, it is much appreciated.


                                    Sign up here - Dating Site affiliate program

                                    Comment

                                    Working...