I'm trying to add page specific css in the head. For some reason the page completely goes white when I use the code below:
<?php if (is_page(5)) {
<style>
</style>
} ?>
I'm trying to add page specific css in the head. For some reason the page completely goes white when I use the code below:
<?php if (is_page(5)) {
<style>
</style>
} ?>
收起
当前问题酬金
¥ 0 (可追加 ¥500)
支付方式
扫码支付
<style>
is not right PHP syntax. Try this:
<?php if (is_page(5)) { ?>
<style>
</style>
<?php } ?>
报告相同问题?