這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Page Sidebar for Twenty Seventeen

外掛說明

Twenty Seventeen is the official WordPress theme in 2017 and it’s really awesome, but unfortunately it has no way to display a sidebar on pages 🙁
Let’s fix that.

Sidebar on all the pages

This tiny plugin will add the default sidebar to all the pages, including the front page! You don’t have to touch a single line of code, and it works for Twenty Seventeen child themes too.

For best results, go to Customize > Theme Options and set Page Layout to One Column.

Sidebar on individual pages

If you want your page sidebar to differ from your post sidebar, it is recommended to also install Content Aware Sidebars in addition to this plugin. That will allow you to show and hide widget areas on a wide range of conditions, giving you complete control over your sidebar.

安裝方式

  1. Navigate to ‘Plugins > Add New’
  2. Search for ‘page sidebar for twentyseventeen’
  3. Install and activate the plugin
  4. That’s it! Sidebar will now be displayed on all pages

常見問題集

Will this plugin work with my theme?

This plugin only works for the Twenty Seventeen theme and its child themes. Try installing it while using another theme, and you’ll see it do… nothing at all.

How to show/hide a different sidebar on pages?

This plugin adds the default sidebar to all pages. If you want to display or hide different sidebars on different pages, we recommend installing Content Aware Sidebars as well.

Click here to read more.

Sidebar is not displayed on the front page?

Due to limitations in the theme, the front page sidebar will not be displayed if using the Front Page Sections feature.

Is it possible to move sidebar to the left?

Not with this plugin, it simply adds the Blog Sidebar to all pages.

使用者評論

2020 年 9 月 23 日
Works perfectly. Twentyseventeen is a great theme for its clean layout. This plugin extends design continuity between posts and pages. i also use "Category Tag Pages" plugin. "Page Sidebar for Twenty Seventeen" would be even better if it created a "article footer.entry-footer" slot for page taxonomy.
2020 年 4 月 21 日
I tried the directions: Go to customize-theme options-=page layout one- but nothing works.
2019 年 2 月 15 日
Couldn't be easier to add a sidebar to Twenty Seventeen. Only on the right hand side, though, but that's fine with me. And not on the home page if it's static, but that's what I wanted anyway. And for jue_mue who said it's not working, it's probably working but empty. You have to add a widget to the sidebar or it won't appear.
2017 年 12 月 31 日
I regret to report the plugin's only half working. Sidebars magically appeared on separately-published pages, but not on those I've allocated to the front-page panels. I belatedly found this in the info: "Due to limitations in the theme, the front page sidebar will not be displayed if using the Front Page Sections feature." Pity, as that's where I wanted them - but if you use a lot of pages (as opposed to posts) on your 2017 site, this would be very handy.
閱讀全部 12 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Page Sidebar for Twenty Seventeen〉的開發相關工作。

參與者

〈Page Sidebar for Twenty Seventeen〉外掛目前已有 6 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Page Sidebar for Twenty Seventeen〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2

  • [new] wordpress 5.8 support

1.1

  • [fixed] featured image on front page could make widgets unusable
  • [fixed] compatibility when using another theme on mobile devices

1.0

  • Initial release