Categories

comment out

Elina Webb December 15, 2015
No votes yet.
Please wait...

When you install the template with sample data, there may be some section that you need to remove from the front end, but do not want to delete it completely from the source codes in case you need it for future uses. You can try to “comment out” the section.

Comments” also help the designer and the user figure out what is what, which section is which, and what is going on within the tangle of codes.

Let’s check the comment codes using for some specific files:

  1. Comments in CSS files:

    /*Content of your comments goes here*/ 
    comment-css
  2. Comments in HTML or PHP pages:

     <!-- Content of your comments goes here -->
    comment-html
  3. Comments inside of PHP code:

    // Content of your comments goes here
    add_action( 'wp_enqueue_scripts',        'monstroid_scripts', 11 );

    Or:

     /*
     Content of your comments goes here
     */ 
    comment-php
Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket

Comments are closed.