php to identify department pages Posted in : Photographer sk_rocksParticipant 12 May 2018 at 08:24 #54327 Hi there, I need to have added some sliders in below page: https://www.mousampictures.com/department/wedding/ the code is pretty simple: <!– wedding –> <?php echo do_shortcode(‘[metaslider id=”1710″]’); ?> <!–portrait –> <?php echo do_shortcode(‘[metaslider id=”1718″]’); ?> <!–travel –> <?php echo do_shortcode(‘[metaslider id=”1714″]’); ?> I need a php if condition to identify if the department pages are weeding or portrait or travel: should be something like: if page id== wedding{ echo slider }. Can you help to provide the if condition please. serkanModerator 14 May 2018 at 11:46 #54361 Hi, sorry we don’t provide support for customizations that includes editing core PHP files. Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in and have valid license to reply to this topic. License required for the following item Photographer WordPress Themeby pixelwars Login and Registration Log in · Register