Placeholder Conditional
Syntax
<? Placeholder
identifier
default
expression
?>
The identifier must be surrounded by double quotes.
Example
<body>
<!-- Body content -->
<? Placeholder "Show logo" default true
<div class="logo"></div>
?>
<!-- Body content -->
<? Placeholder "Show footer" default false
<footer>...</footer>
?>
<!-- Body content -->
</body>
Last updated
Was this helpful?