Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Page & Category Menu Bars (http://forum.bytesforall.com/forumdisplay.php?f=10)
-   -   [SOLVED] Remove Category Description As Category Hyperlink Title (http://forum.bytesforall.com/showthread.php?t=15410)

msj484 Sep 17, 2011 11:23 AM

[SOLVED] Remove Category Description As Category Hyperlink Title
 
Hello Everyone,

I am using Atahualpa 3.5.3 currently on my blog. I am trying to figure out how to edit the core files of the theme so that the category description is not the title(alt text) of the links. I see that there is an option in the theme options to prevent this from happening, but apparently since I am using the newest version of WP... it doesn't work. Can someone tell me which file I can edit, and what needs to be changed so that I can have it say "Category Name Articles" instead of the category description? Thanks for your help.

juggledad Sep 17, 2011 01:41 PM

looks like the 'Yes' and 'No' are reversed

msj484 Sep 17, 2011 02:31 PM

I tried that, and it doesn't seem to work. Any other suggestions? Do you think if I update my theme to the latest version, and then try what you are saying that might work?

juggledad Sep 17, 2011 03:02 PM

When I set ATO->NEW MENU 2 (Category Menu)->Title tags in Category Menu Bar to NO and view the source, I see the 'Title' if I set it to YES I don't see the title.

Are you saying you see the TITLE in both cases?
Do you have a caching plugin?
did you flush your browses cache?
What is the url?

msj484 Sep 18, 2011 08:37 AM

Quote:

Originally Posted by juggledad (Post 72366)
When I set ATO->NEW MENU 2 (Category Menu)->Title tags in Category Menu Bar to NO and view the source, I see the 'Title' if I set it to YES I don't see the title.

Are you saying you see the TITLE in both cases?
Do you have a caching plugin?
did you flush your browses cache?
What is the url?

I have done what you have mentioned, and nothing changes.

1) Yes I see the title in both cases
2) No I do not have a caching plugin
3) I did flush my cache, history, etc.
4) cookeatdelicious {d0t} com

Thanks for your help.

juggledad Sep 18, 2011 09:11 AM

One other question, are you using the Atahualpa menus or the wordpress new menu?

juggledad Sep 18, 2011 10:27 AM

Ok, now that I can see your site we can clear up some things.
1) you are using a PAGE menu in the header - this is what the Atahualpa options effect
2) you are using the Category WIDGET in a sidebar. - this has nothing to do with the theme, it is wordpress base code.

If you want to mess with that widget, I believe it is in the wp-includes/widgets.php file

msj484 Sep 18, 2011 02:53 PM

Thanks for your responses. I looked through the wp-includes/widgets.php file and didn't find my answer. I then looked at wp-includes/category-template.php and I found the issue in this code:

if ( $use_desc_for_title == 0 || empty($category->description) )

I changed the 0 to a 1, and that fixed my issue. Thanks.


All times are GMT -6. The time now is 12:30 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.