如何实现DMSGuestbook在文章页面中调用 发表于 2011-08-08 分类于 技术 阅读次数: 12<?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php the_content(''); ?><?php endwhile; endif; ?> 通过wordpress页面实现DMSGuestbook留言板调用方法 1234<div><?php if (have_posts()) : while (have_posts()) : the_post(); ?></div><div><?php the_content(''); ?></div><div><?php endwhile; endif; //正常调用页面中的内容?></div><div><?php DMSGuestbook("$id"); //通过DMSGuestbook()函数在页面中调用留言板或者评论,id为页面的id ?></div>