I’m using the premium theme Comfy-Plus (obtained while they had a free giveaway), so support from them is not possible without paying.. which brings me here.
In my sidebar.php file there’s a conditional section and I’m confused about it. Hopefully someone here can tell me what it means.
<?php if (is_single()) : ?>
<?php if (is_page()) $tle = PAGE; else $tle = POST; ?>
<?php include TEMPLATEPATH. '/widgets/admin_menu.html'; ?>
<?php include TEMPLATEPATH. '/widgets/writer.html'; ?>
<?php include TEMPLATEPATH. '/widgets/info.html'; ?>
<?php endif; ?>
<?php if (is_category()) : ?>
<?php include TEMPLATEPATH. '/widgets/category_tabs.html'; ?>
<?php endif; ?>
<?php include TEMPLATEPATH. '/widgets/subscription.html'; ?>
<?php include TEMPLATEPATH. '/widgets/300x250ads.html'; ?>
<?php if (!is_category()) : ?>
<?php include TEMPLATEPATH. '/widgets/ajaxtabs.html'; ?>
<?php endif; ?>
<?php include TEMPLATEPATH. '/widgets/media.html'; ?>
<?php include TEMPLATEPATH. '/widgets/widgets.html'; ?>
My issue is the second line of code.. <?php if (is_page()) $tle = PAGE; else $tle = POST; ?>