Support » Plugin: Theme Check » Fixing: WARNING: Found PHP short tags in file

  • Resolved CreativeWP

    (@mevaser)


    This is a great tool. I am validating a Theme. It is so much joy. BUT I got stuck right now, the website has this code, which I am at lost how to make it pass, any ideas?

    <?php
    	$catid = get_cat_id($bmb_portfolio_id);
    	if (is_category_or_sub($catid)) { ?>
    
    	<?php load_template(get_template_directory() . '/portfolio.php' );?>
    
    	<? } else if (is_category($bmb_services_id)){ ?>
    
    	<?php load_template(get_template_directory() . '/services.php' );?>
    
    	<? } else { ?>

    http://wordpress.org/extend/plugins/theme-check/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fixing: WARNING: Found PHP short tags in file’ is closed to new replies.