April 21, 2013 at 10:02 pm #22298
I am having some problems with the sidebar on the newscast 4-1 theme. I am trying to have unique text display in the left sidebar on the homepage and on very category page. It was working at first, bu then I noticed some problems with getting duplicate text on nested categories. So I was making changes and unnesting categories and I ended up deleting some categories and now one of my categories descriptions is showing up on the homepage of my site, and none of the changes I make to the sidebars show up anymore, except for the homepage sidebar. It mentions in the settings that if you delete pages from the end, it could cause problems and to read the documentation, but I can’t find he documentation it is talking about. How would I fix this problem?April 21, 2013 at 11:59 pm #115311April 22, 2013 at 4:14 pm #115312
As you can see, the family and pets description is on the homepage underneath the homepage description, yet each of those text blocks is in its own widget and shouldn’t be like that.April 23, 2013 at 1:22 pm #115313
It sounds like you are going to need to remove the widget areas you have created (the custom sidebars) completely and re-do them. What happens with widgets and wordpress is that they can get a bit broken when removing a widget area that isn’t at the end because they are stored as a list. So when that list has an item removed from the middle, the ones below adjust upwards and can then move some widget content with them but not all.
So removing your widget areas and then re-doing them should fix the issue.
DevinApril 23, 2013 at 11:16 pm #115314
I went back and removed all of the custom widget areas and tried adding them again and I am still getting the same errors, in that the text is not showing up on the appropriate categories. I even tried adding them back in and adding text to them one by one but that didn’t work either. When I added in only the family & pets category custom widget, the text would still show up on the home page underneath the main text.April 25, 2013 at 2:20 am #115315
Maybe I’m just not understanding the issue then. Do you have custom sidebars set up for different pages or are you just trying to make specific widgets only show on certain pages?
You may need to use a plugin like http://wordpress.org/extend/plugins/widget-logic/ if you want to keep specific widgets from showing on certain pages as the theme doesn’t really support marking only certain widgets for display on specific pages.April 26, 2013 at 7:23 pm #115316
That plugin might work, but I feel as if I shouldn’t need it since it was doing what I wanted it to do at first, this problem seems like an error to me. The error isn’t on “pages” but “categories”. On each category page, in the sidebar I want in the sidebar some text pertaining to that page, just like how it looks on the homepage. Everything was working fine and I was able to add text until I made changes and added categories and deleted some. Now, if I add back in category widgets in the “Extra Widget Areas for specific Categories” section, only some of them work, and if I add anything in the Family & Pets widget area, despite what order it is added back in, that text shows up on the homepage as well and I know it is not supposed to.
If you would like, I could email you some login credentials and you could see the error work for yourself. Maybe that would help you understand?April 29, 2013 at 12:59 pm #115317
You would be best served to just use the widget logic plugin as the sidebar support/customization for specific pages/categories and content is pretty limited.
There could also be another plugin or setting already conflicting with the theme code which would explain the sudden change and it not working correctly.April 29, 2013 at 6:28 pm #115318
Well, I believe I have isolated the problem further and found a makeshift fix for it. I hadn’t installed any plugins recently that would have conflicted and caused this problem, but what I did do was allow a user to submit their own guest post. That post was the most recent thing on our blogroll and no matter what I did, it would pull the description from that category. Even with the widget you suggested, the problem remained. The way I fixed it was jut by uploading a new post in front of that one. Once I did that, the description went away from the homepage. I still have no idea why that gust post in particular pulled the description onto the home page. When I tried to replicate the problem by uploading my own guest post under a contributor account, nothing happened. I’m just going to chalk this up as a fluke error with that guest post and hope it doesn’t come up again.
As far as the category specific text not showing up on certain categories, I noticed that it only happened on categories that didn’t have any posts in them yet, and once they had a post in them, the content would show up in the sidebar. Again, even with the widget you suggested, the content wouldn’t show up without posts in that category. Is there a fix for this? If not, it’s not a big deal. I just thought you might like to know the progress.April 29, 2013 at 8:10 pm #115319
I’m sorry but I was wrong in what I said earlier, adding a new post does not fix the problem. For every new post I add, it pulls the category text on to the home page. Even with widget logic activated and the logic set to in_category(‘xxxx’), it will still show up on the home page.April 30, 2013 at 1:14 am #115320
If I understand correctly, you want this area “Featured: The Green Living Blog” remove?
IsmaelMay 3, 2013 at 10:38 pm #115321
Yes, I would like it removed from the home page, but not the Green Living category page. At the moment, whatever category I uploaded the last blog post to, the theme copies the text within that categories’ sidebar and places it under the static text on the homepage.May 6, 2013 at 11:38 am #115322
Sorry, Why don’t you exclude that category from Newscast Options > Main Page Options ? There is an option to exclude any category(ies) from the home page. This way there wont be a slider panel created.
NickMay 9, 2013 at 5:59 pm #115323
Excluding the category did nothing. It removed the post from the front page but the sidebar text was still present. Luckily though, I isolated the problem and the solution. The solution lies in the “Display Widget areas for categories on posts of that category as well” section. I had it checked “yes” so that the text would show on the additional posts as well, but that was the cause of the sidebar text showing up on the homepage. Once I checked “no” the problem disappeared.May 9, 2013 at 10:37 pm #115324
The topic ‘Sidebar prolems’ is closed to new replies.