Sidebar not showing on certain pages

Posted in: Newspaper
Post count: 9

Hi there,

Unfortunately the sidebars do not display on certain pages of my site, but they do on others (the same custom sidebar). I’ve tried to look at the html of the page for wrongly inserted tags, plugins that may be causing this, but as they appear on some pages and not others, I’m not sure what’s happening.

Any help is appreciated.
Thanks

Post count: 9

I’ve also checked that the sidebar option is default for pages in the theme settings. As far as I can see, all options are exactly the same for the pages where the sidebar does display.

Post count: 9

I’ve also just now updated to the latest Newspaper version and the same issue occurs.

Post count: 20688

Hi,

We could take a look, please provide a link to a post where the sidebar is displayed and one where it is not.
Note that the sidebar priority – https://www.screencast.com/t/qGo6VY64M

If you set a sidebar manually for the post then that will be displayed. If you do not, then the primary category is taken into account
https://forum.tagdiv.com/primary-category/

Thanks

Post count: 9

Can I share the URLs just with you?

Post count: 9

After looking over the weekend, I have a feeling it’s to do with changing posts into pages. But some pages appear with the sidebar, some don’t.

Post count: 20688

Pages will behave differently than posts. Posts can have categories and therefor be easier to manipulate their sidebars with the primary category setting.

If you create pages without using the page builders (composers) then the order for the sidebar is like this
https://www.screencast.com/t/KxlQZTKh
So if for a page you do not set a sidebar manually, the one set here will be picked
https://www.screencast.com/t/vrD7W45o6

Post count: 9

Hi, yes I am aware of that. However, for some of the pages (recently converted from posts), do not display any sidebar, even when the default is selected. It’s just a white space.

Post count: 20688

Try to create a new page, set a sidebar for it from the ones you have or create a new sidebar as well. The sidebar should be displayed. That would mean the problem may be specific to the pages that were covered as you say, or with their sidebars.

Post count: 9

The sidebar works for new pages, so I’m pretty sure the issue is with the pages, but having looked through the html I can’t see anything out of the ordinary. Do you have a support email, or can I forward the urls directly to you?

Post count: 20688

If the sidebar works with default pages, then the problem is with the pages that you mention were converted from posts. That could have affected the resulting pages, that is why the problem appeared.

I don’t know how exactly you made the conversion, we have not made any tests with pages that were converted from posts to see if the functionality is affected in any way. So if the setting from the theme panel does not work
https://www.screencast.com/t/vrD7W45o6
Also the setting per page does not work
https://www.screencast.com/t/zs4ndlLJ
Then I don’t know what could be done about it, since for normal pages it functions correctly.

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.