I am making a custom theme and need to use a slider in some pages but not every page. Can I use something to chek the current page?
Something like
Code: Select all
if {is_home}
Code: Select all
if {categoryID=2}
Code: Select all
if {is_home}
Code: Select all
if {categoryID=2}
Уеб дизайн и SEO услуги от metaGraphics Design Studio
Check my ShopperLand Premium theme
Check my ModernStore Premium theme
Code: Select all
<?php if (isset($_GET['route'])) { ?>
<?php $id = $_GET['route']; ?>
<?php } ?>
<?php if ($id == "common/home") { ?>
<?php echo "" ?>
<?php } else { ?>
YOURSLIDERCODEHERE
<?PHP } ?>
Уеб дизайн и SEO услуги от metaGraphics Design Studio
Check my ShopperLand Premium theme
Check my ModernStore Premium theme
Users browsing this forum: No registered users and 21 guests