Impressum
|
Datenschutz
WBCE
CMS
Add-On Repository (AOR)
Toggle main menu visibility
Overview
Addons
Recommendations
Content
Structured Content
Galleries
Calendars
Listings
Forms & Interaction
Content Organizing
Tools
Privacy / DSGVO
Editors/Helpers
Administrative Tools
Snippets & Patches
Other
eCommerce
Other Modules
Default Modules
Templates/Themes
Themes (Backend-Templates)
Frontend-Templates
Droplets
Output Filter
Templates (Frontend)
Links&Infos
Hinweise / ToS
Spenden/Donations
WBCE Home
WBCE Forum
WBCE Help
»
Übersicht
»
12. Snippets & Patches
»
Has Block Content Snippet
Has Block Content Snippet
Version:
0.0.3
Entwicklungsstatus:
Stable
Veröffentlichungsdatum:
2020/06/27
Lizenz:
GPL
Autoren:
Christian M. Stefan (Stefek), bernd
Links:
·
Forum zum Modul
Sprache für Beschreibung:
EN
|
DE
Beschreibung EN:
Checks if there is content in a certain template block.
In your template or a code2 section, use the following PHP code:
if (has_block_content(1)) {
...your code here which will be executed if there is content in block 1
}
Beschreibung DE:
Prüft, ob in einem bestimmter Templateblock Inhalte vorhanden sind.
Im Template oder einem Code2-Abschnitt folgenden PHP-Code verwenden:
if (has_block_content(1)) {
...Code, der ausgeführt wird, wenn im Block 1 Inhalte sind
}
Download has_block_content_0.0.3.zip
Icons made by
Pixel perfect
(Puzzle) /
Freepik
(others) from
www.flaticon.com
is licensed by
CC 3.0 BY
Suchen
|
Registrieren
|
Eintrag bearbeiten
|
Kennwort ändern
|
Kennwort vergessen