【发布时间】:2015-12-10 18:29:24
【问题描述】:
也许这是链接默认页面的代码:
<?php if($ct_options['ct_link_title'] == 'Yes') { ?>
<h4><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
<?php } else { ?>
<h4><?php the_title(); ?></h4>
<?php } ?>
<?php the_content(); ?>
我想显示我在 page-builder 中构建的页面而不是默认页面
请指教。感谢期待
【问题讨论】:
-
自定义链接是什么意思?类似
http://customwebsite.com/index.php/services/My-First-Service-test/ -
@RajuDawadi 我更新了我的问题。请检查
-
那么不要使用永久链接。只需使用
<h4><a href="https://google.com/"><?php the_title(); ?></a></h4><br>希望我理解正确。 -
但是没有一个链接。我有 6 个不同的链接,例如明天可能有 1000 个链接,我将如何处理它们?
-
在这种情况下,我建议您使用 Advance 自定义字段插件。 link 。并使用带有转发器的自定义字段。