Forums

Need to use <?php ?> format (2 posts)

  1. almostdaniel
    Member
    Posted 1 year ago #

    In your current version of this theme, there are a number of statements that do not use the <?php ?> format. Instead, they use <? ?> (no 'php'). This will break on most default installations of PHP where ASP-style tagging is turned off.

  2. Otto42
    Moderator
    Posted 1 year ago #

    This is in reference to the http://wordpress.org/extend/themes/one-simplemagazine theme, BTW.

    And yes, almost nobody uses short form codes. Always use the full <?php tags. Even the short form echo (like <?= whatever(); ?> ) is usually not a good idea.

Topic Closed

This topic has been closed to new replies.

About this Topic