GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress question, how do I remove categories from displaying in the admin? (https://gfy.com/showthread.php?t=563841)

chadglni 01-14-2006 04:11 PM

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.

Walrus 01-14-2006 04:16 PM

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

DaveMac 01-14-2006 04:17 PM

Edit your sidebar.php template by deleting this:

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

chadglni 01-14-2006 04:19 PM

Quote:

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.

chadglni 01-14-2006 05:04 PM

Bump bump bump it up. ;)

chadglni 01-14-2006 05:36 PM

<sniff> :(

InGayPorn 01-14-2006 06:17 PM

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. :)

chadglni 01-14-2006 06:37 PM

Quote:

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.

chadglni 01-14-2006 06:40 PM

http://www.imageurl.com/thumbs/th190...7289532685.jpg

On the right side after you click the image.

OzMan 01-14-2006 09:24 PM

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. :helpme

ionsphere 01-14-2006 09:47 PM

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 :)

chadglni 01-15-2006 08:30 AM

Quote:

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.

chadglni 01-15-2006 08:31 AM

Quote:

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. :helpme

Posts are displayed, categories aren't displayed on the main site but they are in the RSS feed still. :)

ionsphere 01-15-2006 10:23 AM

Quote:

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

chadglni 01-15-2006 10:27 AM

Quote:

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.

ionsphere 01-15-2006 10:35 AM

Quote:

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.

ionsphere 01-15-2006 10:55 AM

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

chadglni 01-15-2006 10:57 AM

Quote:

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. :upsidedow


All times are GMT -7. The time now is 08:47 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123