下面是我想注释掉的一行代码,
<h1 class="post_title"><a href="<?php the_permalink();?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
将其注释掉的一种流行方法是分别注释掉html和php。
<!-- <h1 class="post_title">
<a href="<?php // the_permalink();?>" title="<?php the_title_attribute(); ?>">
<?php // the_title(); ?></a>
</h1>
-->
有没有更好的方法来做这件事?
https://stackoverflow.com/questions/26334348
复制相似问题