我在服务器上安装了wordpress,在同一安装中使用了两个类别不同的博客。我已经为两个博客页面指定了两个不同的名称,但现在我无法为帖子详细信息页面指定不同的名称。例如
1) 如果有人点击博客页面1的帖子,则需要将博客页面1作为标题。
2) 如果有人点击博客页面2的帖子,则需要将标题显示为博客页面2。
请帮我,如果你需要更多信息,也请告诉我。
谢谢&问候
我使用这个代码的标题
<div class="title">
<div id="title">
<h1><?php the_title(); ?></h1>
</div>
<div class="crumbs">
<?php crumbs(); ?>
</div>
</div>
在打印函数restult中添加"echo"如何?
<div class="title">
<div id="title">
<h1><?php echo the_title(); ?></h1>
</div>
<div class="crumbs">
<?php echo crumbs(); ?>
</div>
</div>