Viewing 2 replies - 1 through 2 (of 2 total)
  • How do you comment it out? Do I just delete this line or do I replace it with something? I’m new to this.

    Thread Starter Davod

    (@npsites)

    you put those two hashes // infront of a line in php and it comments it..

    You could also delete it if you want

    Updated versions of this plugin may not have this problem

    Comments in code are a good thing to get useto
    // something here describing this part of the code

    that way you know what modifications you made….

    remember though in php you have to be inside the actual php code.. template files can have a mixture of html and php

    <?php
    // the code below says chicken
    echo “chicken”;
    ?>

    <?php
    // saying chicken has been turned off
    //echo “chicken”;
    ?>

    the // turns the code into a comment

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Post Thumb Revisited] Code Hack to Fix Error’ is closed to new replies.