Conditional Content

This is an example page. It’s different from a blog post because it will stay in one place and will show up in your site navigation (in most themes). Most people start with an About page that introduces them to potential site visitors. It might say something like this:

Content between horizontal lines is conditional. The content in the area below will only appear if the user is

  1. The user is logged in as an editor or administrator; or,
  2. The date is between 2024-12-17 13:01:50 and 2024-12-19 13:02:18


Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur volutpat risus eget ligula commodo imperdiet. Ut vulputate mauris id orci sagittis, et tincidunt tellus fermentum. Suspendisse leo mi, posuere nec venenatis sed, sodales ac tortor. Vivamus lorem diam, mollis in massa a, condimentum accumsan urna. Etiam varius pharetra nisi vel tincidunt.

Nam vehicula volutpat est. Sed iaculis pulvinar quam, at lacinia lacus suscipit vel. Aenean massa ipsum, posuere non mollis sit amet, dapibus in nisi. Pellentesque a sollicitudin magna. Cras at urna porttitor, lobortis nisi semper, porttitor erat. Phasellus quis urna libero.

Curabitur vel lorem aliquet nibh egestas laoreet. Quisque vel ultricies elit. Integer eu dignissim odio. Duis fringilla tortor ac nunc ultricies viverra. Maecenas efficitur felis porttitor suscipit vulputate.

Content between horizontal lines is conditional. The content in the area below will only appear if the user is

  1. Logged in as an administrator and is within 150m of the PFG Head Office or IT Office; or,
  2. The user is not logged in