- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
comment out
December 15, 2015
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:
Comments in CSS files:
/*Content of your comments goes here*/
Comments in HTML or PHP pages:
<!-- Content of your comments goes here -->
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 */