Forum Replies Created
-
AuthorPosts
-
April 1, 2015 at 3:47 am in reply to: Proper way of manipulating a category on your homepage? #146347desirevoMember
I'm trying in_category, but also no luck. Does the fact I'm trying to target a descendant category make a difference to this working?
desirevoMemberI discovered that, for some reason, is_category would work with the ID but not with the slug, so that's seemed to fix things up! Permalinks have a life of their own sometimes...
desirevoMemberThank you for the code cleanup. I'm still not entirely sure why my functions file doesn't handle these actions, though?
February 6, 2015 at 4:24 am in reply to: Anyone know why this in_category code isn't working? #139931desirevoMemberHi Carlo, thanks for the suggestion. I think there may be a little confusion as to what I'm trying to do.
I'm not trying to exclude a category as a whole, what I'm trying to do is exclude the entry content for specific categories from the index/home/blog page.
For instance, let's say I have categories Apple, Banana, and Cherry.
I want them all to appear on the index page, but I want the Apple and Banana categories to display entry content on the index page, and I don't want the Cherry category to do that.
Does this make sense?
February 4, 2015 at 2:55 pm in reply to: Anyone know why this in_category code isn't working? #139691desirevoMemberHi Carlo. Sure, if you could point out what I'm doing wrong, then that'd be great. I'd just like to learn from whatever mistake I've made, and ensure I approach it correctly the next time.
February 4, 2015 at 1:53 pm in reply to: Anyone know why this in_category code isn't working? #139685desirevoMemberThanks for the suggestion. How would I write that echo in order to achieve that?
-
AuthorPosts