我不熟悉 PHP,但我想在 Wordpress 中创建类似的内容:
if page id="123"
show this -> <div class"option one">my content</div>
if page id="124"
show this -> <div class"option two">my other content</div>
if page id="125"
show this -> <div class"option three">my other content 2</div>
Run Code Online (Sandbox Code Playgroud)
代码将放置在我的page.php中
那么具体的php代码是什么呢?