Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Wie man Widgets auf bestimmten WordPress-Seiten ein- oder ausblendet

Hinweis der Redaktion: Wir erhalten eine Provision für Partnerlinks auf WPBeginner. Die Provisionen haben keinen Einfluss auf die Meinung oder Bewertung unserer Redakteure. Erfahre mehr über Redaktioneller Prozess.

Möchten Sie Widgets auf bestimmten Seiten Ihrer WordPress-Website anzeigen?

Wenn Sie Widgets zu Ihrer Website hinzufügen, werden diese standardmäßig auf allen Seiten angezeigt. Manchmal möchten Sie jedoch nur ausgewählte Widgets auf bestimmten Seiten anzeigen, um Ihre Website besser anpassen zu können und eine personalisierte Benutzererfahrung zu bieten.

In diesem Artikel zeigen wir Ihnen, wie Sie Widgets auf bestimmten WordPress-Seiten ganz einfach ein- und ausblenden können.

How to show or hide widgets from WordPress pages

Warum Widgets auf WordPress-Seiten anzeigen oder ausblenden?

MitWordPress-Widgets können Sie zusätzliche Inhalte in die Seitenleiste, die Fußzeile und die Kopfzeile Ihrer Website einfügen.

Sie helfen dabei, wichtige Informationen für Ihre Besucher bereitzustellen, z. B. ein Kontaktformular, Seiten für soziale Medien, Verkaufsangebote, Ihre wichtigsten Seiten und vieles mehr.

Wenn Sie zum Beispiel ein Suchfeld-Widget auf der Kassenseite Ihres Online-Shops anzeigen, bringt das Ihren Besuchern keinen Nutzen. Andererseits kann die Anzeige von Rabattcoupons für Produkte und Dienstleistungen im Widget-Bereich Ihren Umsatz steigern.

In ähnlicher Weise sollten Sie Ihre Homepage sauber halten und Ablenkungen reduzieren. Durch das Ausblenden von Widgets auf der Homepage wird diese übersichtlich gehalten und die Nutzeraktivität auf Ihrer WordPress-Website erhöht.

Leider bietet WordPress keine Option, um Widgets standardmäßig ein- oder auszublenden.

Sehen wir uns also an, wie Sie mit einem WordPress-Plugin ganz einfach Widgets auf bestimmten Seiten anzeigen können.

Ein-/Ausblenden von WordPress-Widgets auf bestimmten Seiten

Mit Widget Options können Sie Widgets auf bestimmten Seiten ganz einfach aus- oder einblenden. Es ist ein komplettes Plugin für die Widget-Verwaltung, mit dem Sie Widgets für verschiedene Seiten, Beiträge und Geräte zuweisen und einschränken können.

Hinweis: Wenn Sie ein Block-Theme verwenden, konvertiert Widget Options Ihre Block-basierten Widget-Bereiche in klassische Widget-Bereiche. Dann können Sie das Plugin verwenden, um Widgets auf Ihrer gesamten Website ein- und auszublenden.

Zunächst müssen Sie das Plugin Widget Options installieren und aktivieren. Weitere Details finden Sie in unserer Schritt-für-Schritt-Anleitung für die Installation eines WordPress-Plugins.

Nach der Aktivierung können Sie zunächst die Seite Einstellungen “ Widget-Optionen in der Seitenleiste des WordPress-Administrators aufrufen. Hier finden Sie verschiedene Optionen, die das Plugin zum Anpassen Ihrer Widgets bietet.

Stellen Sie sicher, dass die Option „Klassischer Widgets-Bildschirm“ aktiviert ist, damit Sie Widgets auf Ihrer Website ein- oder ausblenden können.

Danach klicken Sie einfach auf die Schaltfläche „Einstellungen konfigurieren“ im Feld „Sichtbarkeit der Seiten“.

Widget options settings

Von hier aus können Sie steuern, wo Ihre Widgets sichtbar sein sollen, und auswählen, wo sie nicht angezeigt werden sollen.

Standardmäßig sind im Plugin die Optionen für die Registerkarten „Beitragstypen“, „Taxonomien“ und „Sonstiges“ aktiviert.

Sie können jedoch das Kontrollkästchen für jede Option deaktivieren, um die Sichtbarkeit von Widgets auf verschiedenen Seiten anzupassen.

Edit page visibility options

Wenn Sie die Änderungen vorgenommen haben, klicken Sie einfach auf die Schaltfläche „Einstellungen speichern“.

Als Nächstes müssen Sie die Seite Erscheinungsbild “ Widgets in Ihrer Admin-Seitenleiste aufrufen und auf ein beliebiges Widget klicken, das Sie ein- oder ausblenden möchten. Dadurch werden die Widget-Einstellungen erweitert, und Sie sehen Optionen für die Sichtbarkeit des Widgets.

Wählen Sie nun im Dropdown-Menü „Ausblenden/Einblenden“ einfach die Option „Auf markierter Seite ausblenden“ oder „Auf markierten Seiten einblenden“, je nach Ihren Wünschen.

Standardmäßig werden Widgets auf den angekreuzten Seiten ausgeblendet, aber Sie können dies ändern und stattdessen Widgets auf den angekreuzten Seiten anzeigen.

Choose if you want to show or hide widget on the checked pages from the dropdown menu

Die Registerkarte „Verschiedenes“ bietet Optionen zum Ausblenden von Widgets auf der Homepage/Startseite, dem Blog-Bereich, den Archiven, den 404-Seiten und der Suchseite.

Wechseln Sie anschließend auf die Registerkarte „Post Types“ und wählen Sie aus, auf welchen Seiten Sie das WordPress-Widget ein- oder ausblenden möchten.

Check the pages where you want to hide or show the widget

Schließlich können Sie auf die Registerkarte „Taxonomien“ gehen und Kategorien auswählen, um Ihre WordPress-Widgets ein- oder auszublenden.

Das bedeutet, dass das Widget für die Blogposts mit dieser bestimmten WordPress-Kategorie angezeigt oder ausgeblendet wird.

Check box next to the categories where you want to show or hide the widget

Vergessen Sie nicht, auf die Schaltfläche „Speichern“ zu klicken, um Ihre Einstellungen zu speichern.

Sie können nun Ihre Website besuchen, um sie in Aktion zu sehen.

Für dieses Tutorial haben wir das „Search“-Widget nur auf der „Blog“-Seite angezeigt und es auf allen anderen Seiten unserer WordPress-Website ausgeblendet.

Preview for show/hide widgets

Wir hoffen, dass dieser Artikel Ihnen geholfen hat zu erfahren, wie Sie Widgets auf bestimmten WordPress-Seiten ein- oder ausblenden können. Sehen Sie sich auch unsere Liste der nützlichsten WordPress-Widgets an und lesen Sie unseren Artikel über die Erstellung einer kostenlosen geschäftlichen E-Mail-Adresse.

Wenn Ihnen dieser Artikel gefallen hat, dann abonnieren Sie bitte unseren YouTube-Kanal für WordPress-Videotutorials. Sie können uns auch auf Twitter und Facebook finden.

Offenlegung: Unsere Inhalte werden von unseren Lesern unterstützt. Das bedeutet, dass wir möglicherweise eine Provision verdienen, wenn Sie auf einige unserer Links klicken. Mehr dazu erfahren Sie unter Wie WPBeginner finanziert wird , warum das wichtig ist und wie Sie uns unterstützen können. Hier finden Sie unseren redaktionellen Prozess .

Das ultimative WordPress Toolkit

Erhalte KOSTENLOSEN Zugang zu unserem Toolkit - eine Sammlung von WordPress-bezogenen Produkten und Ressourcen, die jeder Profi haben sollte!

Reader Interactions

63 KommentareEine Antwort hinterlassen

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Ian Hanson says

    After hours of perusing all my WP Theme options (why it takes me this long to solve problems I’ll never know) I Googled how to show widgets on certain pages and not others…and found your post.

    It’s SO easy now. How I lived without it before I’ll never know. Actually, I don’t think I was living. Thanks!

  3. Jim Gersetich says

    The plugin referenced does not work. I installed Widget Context and activated it. However, the Appearance | Widgets page still only shows the defaults (Blog Sidebar, Footer 1, and Footer 2.) The dialog box you show does not appear, even after closing the browser and reentering.

    • WPBeginner Support says

      The section should be on individual widgets. If they are not appearing you may need to reach out to the plugin’s support to see possible issues.

      Admin

  4. Vikram Bheel says

    Sir, I bought the Business 5 theme from the instamajo on October 3, 2018. I have 2 problems in customizing this theme.

    1. Apperiance >> Customize >> Widget

    Sidebar 1 is not visible here in place of widget and a message is visible

    Your theme has 1 other widget area, but this particular page does not display it.

    You can navigate to other pages on your site while using the Customizer to view and edit the widgets on those pages.

    How to solve this problem

    2. The option of logging in footer area of ​​this theme is also coming, how to remove it

    Please request to the Wpbeginner team to resolve these issues.

  5. Abby says

    Hello, I don’t know to get my subscribe widget to show on every page. Right now it shows on every page on my computer but only shows on my „About Me“ Page for others. I have selected for it to appear everywhere. Can you help?

  6. Katie says

    So I am totally new to this whole thing. I managed to get the TopConsult theme installed and now Widget Context but unless I am being a dumb blonde it’t not working. When I click on a widget the only option I have is to add or cancel. As well as there are „default widgets“ built into the theme one of which is a smart slider that I only want to appear on the home page! And it doesn’t look like I can edit those at all? Can anybody help me?!

  7. Julie Spears says

    I am trying to use the visibility option on my Text widget to hide the sidebar from a specific page. But it isn’t working. The widget still shows up on that page. Any ideas?

  8. john says

    I am sorry but widget context does not have the ability to display on every page? If I click the setting that says show widget everywhere it does not display my slider widget on every page. If I click on show widget on selected and enter a custom URL (the URL to one of the pages on my site) it still does not show the slider widget on that page. I am not sure why or how to fix this but help would be appreciated.

  9. David Norwood says

    Thank you for your reply. I need a plugin like Display Widget, as I have it set up to show menus on the sidebar in specific categories . Maybe I am doing it incorrectly, but it seems to be more global?

  10. David Norwood says

    Thank you for the plug-in suggestion. I need a replacement for Display Widget

    however, widget context Untested with your version of WordPress, which is the most recent .

    Do you if it will be updated anytime soon?

  11. Noel says

    Hi All, it seems this plugin has been removed. Anyone know of another plugin that operates in the same way – showing certain widgets on certain pages and hiding sidebar (show full width page) on pages you do not want the widgets to appear on – similar to what Display Widgets did?

  12. Alex says

    Unfortunately, it looks like the latest WordPress update broke editing the widgets. The settings I had set for my widgets before the update remain, but I can’t change them or add settings to future widgets. Does anyone have a fix for this?

  13. Steve says

    This all works great, however, there is one situation where it does NOT work and that is for a specific URL that is part of a third party integration, like aMember.

    The aMember page do not appear as any of the normal taxonomy, so you would need to somehow add the specific URL to the widget. So far I do not see that functionality.

    Wondering if there is another way to hide widgets you want to shown on the rest of the site, but not on these third party integration pages. Any ideas?

    • Steve says

      Took me only a few minutes to figure this one out, here’s the solution:
      For any pages that reside outside of the WordPress taxonomy, you can use the logic setting. Click the gear symbol, then open the „logic“ tab.
      In my case, simply entering the conditional: is_page( $page = ‚/member/*.php‘ )
      hides the widgets on all pages associated with my WP integrated third party membership scripts.

  14. Miriam says

    The widget is only showing up on categories, not on pages. I have tried all different combinations and none but categories are working. Please help.

  15. Lori says

    I’m using the Divi theme and the widget isn’t showing on the pages I checked. I have updated to the latest version of the theme and WordPress. Help!

  16. Shaun Taylor says

    Hello,

    This is great and just what I’m looking for, however Is there a way, instead of showing or hiding on different pages, to show and hide in different sections?

    For example if my site structure is:

    Home
    About
    –Subpage
    –Subpage
    –Subpage
    Work
    Services
    –Subpage
    –Subpage
    –Subpage
    Contact

    So rather than me having to choose all of the sub pages in the service section, can I just choose everything under example.com/services/ will show or hide a certain widget?

    Any help would be appreciated! :)

  17. Gaurav Kumar says

    Hi,

    I have removed text widget from blog, still it is loading when I am opening the site.

    Please tell me what should I do.

  18. Victor says

    Hey, does this work with WP 4.5.4 or later? Because I have installed it and shows no difference. Im trying to hide a widget from a page.

    Thanks

  19. Mahendra says

    It will work 100% on some themes.
    But in other themes when you will hide widget, a message will display instead of widget.

    I have a trick for second type of themes.

    Add only text widget, inside the text widget, text will be nothing.

    I have used this trick in my sites. for example I have used in my own site.

  20. Mujahid Rasul says

    I installed and used Widgets Display plugin. why hidden widgets are still occupying space in the site pages. I mean the there should be left only one column showing the text on the whole screen. Now the widgets are not showing but space is empty. please provide solution of this problem

  21. Bob Clinton says

    Installed on WP 4.3 and WP 3.5.1 Just get a blank text area field under the words „Widget logic: “

    What am I missing???

  22. AyhanSipahi says

    i used to use widget logic before this.

    is_page(); is_single(23,454,53,1,); used to use code based taxonomies

Eine Antwort hinterlassen

Danke, dass du einen Kommentar hinterlassen möchtest. Bitte beachte, dass alle Kommentare nach unseren kommentarpolitik moderiert werden und deine E-Mail-Adresse NICHT veröffentlicht wird. Bitte verwende KEINE Schlüsselwörter im Namensfeld. Lass uns ein persönliches und sinnvolles Gespräch führen.