Simple Page Sidebars

Beschreibung

Simple Page Sidebars ist konzipiert für Einfachheit und Flexibilität. Das Plugin gibt WordPress-Benutzern, -Designern und -Entwicklern die Möglichkeit, individuelle Seitenleisten individuellen Seiten hinzuzufügen, ohne dabei Änderungen am Template vornehmen zu müssen. Bereits existierende Seitenleisten können auch im QuickEdit- oder Massenbearbeitungs-Modus hinzugefügt werden, die ist besonders zeitsparend.

Im Gegensatz zu einigen eher komplizierten verfügbaren Plugins, die die gleiche Aufgabe übernehmen könnten, zielt Simple Page Sidebars auf einfache, Core-ähnliche Funktionen sowie auf einfache Integration ab, ohne dabei den Admin-Bereich zu überladen. Aufgrund der Art, wie die Seitenleisten gespeichert werden, verwendet das Plugin das eingebaute WordPress-Caching, daher wird deine Website nicht mit zusätzlichen Datenbankabfragen belastet.

Simple Page Sidebars enthält zusätzlich einen weiteren „Widget-Bereich“, mit dessen Hilfe sich alle Widgets einer existierenden Seitenleiste in eine andere einbinden lassen.

Vorteile

  • Nie wieder globale generische Seitenleisten. Jede Seite (oder jeder Abschnitt) kann eigene Widgets verwenden.
  • Komplette Kontrolle über die Namen der individuellen Seitenleisten.
  • Zuordnung derselben Seitenleiste zu mehreren Seiten.
  • Aktualisiere die Seitenleiste einer Seite, ohne eine unnütze Revision zu erstellen.

Advanced Usage

Wenn du Seitenleisten zu Archiv-Seiten hinzufügen oder mehrfache Seitenleisten pro Seite ersetzen willst, ist dieses Plugin unter Umständen nicht unbedingt die beste Lösung. Es ist jedoch auf jeden Fall flexibel genug für eine breite Palette seitenbasierter Fälle. Darüberhinaus kann es mit Hilfe einiger weniger Zeilen Code auch mit individuellen Inhaltstypen zusammenarbeiten:

function myprefix_init() {
    add_post_type_support( '{{post_type}}', 'simple-page-sidebars' );
}
add_action( 'init', 'myprefix_init' );

Zusätzliche Ressourcen

Notizen

Custom Loops

If your page has any custom loops or queries, they need to be followed by wp_reset_query(), otherwise the global $post variable will no longer reference the correct post and by the time the sidebar is displayed, Simple Page Sidebars won’t know which page is being viewed, possibly leading to an unexpected sidebar being displayed.

Theme Sidebars

Some themes register different sidebars for their page templates, which means there isn’t a default sidebar that can be replaced. To use Simple Page Sidebars in this instance, you can create a child theme and force page templates with custom sidebars to use the default sidebar.

Screenshots

  • Einfach eine neue Seitenleiste erstellen, während eine Seite bearbeitet wird.
  • Die neue SIdebar erscheint nun im Widget-Panel. Achte auf den neuen „Widget-Bereich“, um andere Widget-Bereiche einer Seitenleiste zuzufügen.
  • Mehrfachbearbeitung in Aktion. Einfache Zuweisung einer Seitenleiste zu mehreren Seiten. (QuickEdit funktioniert ebenfalls!)

Installation

Simple Page Sidebars installiert man genauso einfach wie alle anderen Plugins. Wirf einen Blick in den Codex, sollten dazu irgendwelche Fragen auftauchen.

Konfiguration

After installation, go to the Reading options panel (the Reading link under Settings) and choose which of your registered sidebars is the default sidebar.

FAQ

Warum wird immer noch die Standard-Seitenleiste angezeigt, nachdem ich eine neue Seitenleiste für eine Seite angelegt habe?

If you haven’t added any widgets to your new custom sidebar, the default sidebar will continue to display. If you really want a blank sidebar, try adding an empty text widget.

How do I give my blog a different sidebar?

We recommend that you set your blog to use the default sidebar and create custom sidebars for pages (including the front/homepage). That way your blog page and posts all have the same sidebar.

However, if you defined a page for your posts in the Reading settings panel and assigned a custom sidebar to that page, that will work, too.

Can I hide the „Sidebar“ column on the Pages screen in the admin panel?

Yes, just click the „Screen Options“ tab in the upper right corner of your screen and uncheck the „Sidebar“ option.

Rezensionen

8. Januar 2021
Update: Wrote to the developer, he answered quickly. The issue we are seeing appears not to be with Simple Page Sidebars but rather with WordPress 5.6 Core instead. See the ticket where others are having the same issue. https://core.trac.wordpress.org/ticket/52073 Absolutely awesome plugin up to 5.5.3. Unfortunately, it no longer works with the latest version of WordPress as of this review (5.6) on 1/8/2021. Hopefully, the developer(s) will have time to upgrade the plugin. In the meantime, those who want to continue to use the plugin will need to downgrade their website to an earlier version. You can use a free plugin called WP Downgrade to do this but it's a bandaid.
27. April 2019 1 Antwort
Just wanted to say, that even though the developer is super busy and may not have updated the plugin version specifically for latest WP version, it still works flawlessly. This is a great example of simple coding done right. Nothing that isn't needed, it just simply works. 🙂
16. Februar 2018
This is simple and works great, and no ads! Thank you! Other sidebar plugins put huge, ugly ads right in the middle of the Widgets screen (Custom Sidebars by WPMU-Dev).
16. Juni 2017 1 Antwort
I can't find a way to ask a question so I will ask it here. Simple sidebars is awesome...until yesterday when it stopped working for me. Running Wordpress 4.8. Added a new webpage, entered a new sidebar name and hit update. Added text to the new sidebar and updated. Here's the rub. When I try to edit the text for this particular sidebar, it returns me to the Widget Text page. I'm caught in an endless loop. This now occurs with all the sidebars that I have created. I'm stumped...can anyone help? Sorry to put this in the reviews but I found no way to post in the support form.
15. März 2017
Very easy to configure and set up - you can rename sidebars, and this plugin also allows as many widget areas as you want. You can create new widget areas with each sidebar that you want, and put those sidebar widgets on whatever pages that you want. Here's how to rename a sidebar: Go to 'All Pages', and find the row one of the pages that uses the sidebar you want to change the name of, then look in that row’s “sidebar” column. There you’ll see the name of the sidebar; select that sidebar link and it will take you to an Edit Sidebar page where you can change the title. To delete a sidebar: Just remove it from any page that it has been assigned to. Very handy plugin and saves lots of time from having to register sidebars in functions.php.
Alle 54 Rezensionen lesen

Mitwirkende & Entwickler

„Simple Page Sidebars“ ist Open-Source-Software. Folgende Menschen haben an diesem Plugin mitgewirkt:

Mitwirkende

„Simple Page Sidebars“ wurde in 5 Sprachen übersetzt. Danke an die Übersetzerinnen und Übersetzer für ihre Mitwirkung.

Übersetze „Simple Page Sidebars“ in deine Sprache.

Interessiert an der Entwicklung?

Durchstöbere den Code, sieh dir das SVN Repository an oder abonniere das Entwicklungsprotokoll per RSS.

Änderungsprotokoll

1.2.1 – July 27, 2018

  • Removed bundled language files in favor of WordPress.org language packs.

1.2.0

  • Transferred to Cedaro.
  • Updated the Widget Area class constructor to prevent deprecation notices in WP 4.3+.

1.1.8

  • Added Spanish translation.

1.1.7

  • Added Indonesian translation.

1.1.6

  • Prevent quick edit nonces from being submitted when searching or filtering a post list table.

1.1.5

  • Added Serbo-Croatian translation.

1.1.4

  • Really fix the Quick Edit functionality.
  • Update text domain loading order to get ready for language packs.
  • Fix a strict PHP notice.

1.1.3

  • Fixed Quick Edit functionality in WordPress 3.6.

1.1.2

  • Changed the parent file of the „Edit Sidebar“ screen to remove the small gap between submenu items.

1.1.1

  • Worked around the slashing weirdness in WordPress API.
  • Implemented a method to allow developers to easily add support for additional post types. No plans to build this out further, it’s just here for additional flexibility if more complex solutions aren’t wanted.
  • Added a filter to disable the edit link in the custom Sidebar column (simple_page_sidebars_show_edit_link_in_column).

1.1

  • Added an Edit Sidebar screen for updating a sidebar name and associated pages.
  • Added an update message when a sidebar is saved on the Add/Edit Page screen.
  • Made the sidebar column sortable on the All Pages screen.
  • Refactored the codebase (formatting, improved comments, static classes, organization, etc).
  • Added better feedback throughout the dashboard when something goes wrong.
  • Saved spinner image to plugin folder due to updates coming in 3.5.
  • Removed deprecated filters.

1.0.1

  • Fixed bug causing issues with other plugins that don’t submit the sidebar nonce on the All Pages screen.

1.0

  • Modified check for blog page.

0.2.1

  • Now works for the blog page when it’s set in the Reading Settings.
  • Bug fixes.

0.2

  • Added an option to define the default sidebar on the Reading options panel.
  • Removed the template change requirement. It’s no longer recommended.
  • Refactored code, including function/hook names.
  • Deprecated simple_sidebar function. Replaced by simple_page_sidebar.
  • Deprecated simpsid_widget_areas filter. Replaced by simple_page_sidebars_widget_areas.
  • Deprecated simpsid_widget_area_defaults filter. Replaced by simple_page_sidebars_widget_area_defaults.
  • Deprecated simpsid_sidebar_name filter. Replaced with simple_page_sidebars_last_call.

0.1

  • Erstveröffentlichung