[Resolved] Page slug
Hi! I have different headers for each category/page of my website and I am trying to configure a different one for Events but I can’t! I use slugs to identify pages/categoris – I’ve tried using “events” but nothing happens.
Can you help me telling me what to condition since “events” is not an actual page neither category? Thanks!
<?php elseif (is_page(‘events’)): ?>
<?= do_shortcode(‘[slider id=”1418″]’); ?>
- The topic ‘[Resolved] Page slug’ is closed to new replies.