How to code this:
IF homepage OR a post from posts section then Display the div. Taxonomy pages and pages from the pages section should have hidden this item.
How to code this:
IF homepage OR a post from posts section then Display the div. Taxonomy pages and pages from the pages section should have hidden this item.
{{- if or (.IsHome) (in .Section "posts") }}
<!-- your content goes here -->
{{- end }}
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.