0
可以說我有在WordPress目標頁面
example.com/apples
example.com/art
example.com/bananas
example.com/broccoli
example.com/cars
example.com/cats
六頁我要指定的蛞蝓特定字母開頭的網頁
if (page slug beginns with "a"){
echo 'content for pages with slug beginning with a';
}
else if (page slug beginns with "b"){
echo 'content for pages with slug beginning with b';
}
else if (page slug beginns with "c"){
echo 'content for pages with slug beginning with c';
}
如何正確地寫這個
這正是我需要的,謝謝! – benua