如何实现DMSGuestbook在文章页面中调用
2024-01-23 15:44:59 # 技术
1
2
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php the_content(''); ?>
<?php endwhile; endif; ?>

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

1
2
3
4
<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>