I AM LISTENING TO
|
WAS ICH LIEBE
  • Englisch
  • Deutsch

Conditional Tags for Menus & Widgets

11. Mai 2015




Conditional Tags for Menus & Widgets

Conditional Tags are a powerful thing in WordPress and especially handy to show or hide things.

„The Conditional Tags can be used in your Template files to change what content is displayed and how that content is displayed on a particular page depending on what conditions that page matches. “

Two plugins are part of my essentials, that utilize the Conditional Tags:

  1. Widget Logic
    „This plugin gives every widget an extra control field called „Widget logic“ that lets you control the pages that the widget will appear on. The text field lets you use WP’s Conditional Tags, or any general PHP code.“
  2. Menu Item Visibility Control
    „Using this plugin you can use WordPress Conditional Tags to enable or disable menu items on the front-end. It works like ‚Widget Logic‘ but for menu items.“

You can easily define your own Conditional Tags in your functions.php or plugin.




Abonnieren
Benachrichtige mich bei
guest
0 Comments
Inline Feedbacks
View all comments



Alexander

Ich bin ein Full-Stack-Entwickler. Meine Expertise umfasst:

  • Server-, Netzwerk- und Hosting-Umgebungen
  • Datenmodellierung / Import / Export
  • Geschäftslogik
  • API Layer / Action Layer / MVC
  • Benutzeroberflächen
  • User Experience
  • Verständnis für Kundenwünsche und Geschäftsbedürfnisse

 

Ich liebe die Entwicklung, das Design und kenne mich auch mit Serverarchitekturen aus.  Ich würde mich nie vollständig fühlen, wenn einer der Bereiche fehlen würde.

Ich habe ein breites Interessengebiet, deshalb tauche ich ständig in neue Technologien ein und erweitere mein Wissen, wo immer es nötig ist. Die Technologien entwickeln sich schnell und ich genieße es, die neuesten Technologien zu nutzen.

Abgesehen davon bin ich ein friedliebender Kerl, der versucht, Leute um sich herum zu haben, die dasselbe denken.  Ich glaube wirklich an das Prinzip: "Wenn man jemandem hilft, wird einem jemand helfen, wenn man es braucht."

Previous Next