如何实现DMSGuestbook在文章页面中调用

技术 约 415 字 · 2 分钟 - 次阅读
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php the_content(''); ?>
<?php endwhile; endif; ?>

通过wordpress页面实现DMSGuestbook留言板调用方法

<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>
分享:

评论